- messageType - Variable in class com.migratorydata.client.MigratoryDataMessage
-
- MigratoryDataClient - Class in com.migratorydata.client
-
This class implements all the necessary operations for connecting to a cluster of one or more MigratoryData servers,
subscribing to one or more subjects, getting real-time messages for the subscribed subjects, and publishing messages.
- MigratoryDataClient() - Constructor for class com.migratorydata.client.MigratoryDataClient
-
Create a MigratoryDataClient object.
- MigratoryDataInteractiveListener - Interface in com.migratorydata.client
-
Implementations of this interface handle data messages and status notifications, like implementations of
MigratoryDataListener do, and furthermore handle subscription events for the advertised interactive subjects.
- MigratoryDataListener - Interface in com.migratorydata.client
-
The implementation of this interface will handle the messages received from the server for the subscribed subjects
as well as various status notifications.
- MigratoryDataLogLevel - Enum in com.migratorydata.client
-
This class enumerates the MigratoryData logging levels.
- MigratoryDataLogListener - Interface in com.migratorydata.client
-
The implementation of this interface will handle the log messages produced by the library.
- MigratoryDataMessage - Class in com.migratorydata.client
-
Represent a MigratoryData message.
- MigratoryDataMessage(String, byte[]) - Constructor for class com.migratorydata.client.MigratoryDataMessage
-
Create a MigratoryDataMessage object.
- MigratoryDataMessage(String, byte[], String) - Constructor for class com.migratorydata.client.MigratoryDataMessage
-
Create a MigratoryDataMessage object.
- MigratoryDataMessage(String, byte[], String, MigratoryDataMessage.QoS, boolean) - Constructor for class com.migratorydata.client.MigratoryDataMessage
-
Create a MigratoryDataMessage object.
- MigratoryDataMessage(String, byte[], String, MigratoryDataMessage.QoS, boolean, String) - Constructor for class com.migratorydata.client.MigratoryDataMessage
-
Create a MigratoryDataMessage object.
- MigratoryDataMessage.MessageType - Enum in com.migratorydata.client
-
- MigratoryDataMessage.QoS - Enum in com.migratorydata.client
-
The quality of service (QoS) levels for MigratoryData messaging.
- NOTIFY_CONNECT_DENY - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was denied to connect using the entitlement token defined on the client side.
- NOTIFY_CONNECT_OK - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was authorized to connect using the entitlement token defined on the client side.
- NOTIFY_DATA_RESYNC - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that after a fail-over reconnection, the client successfully synchronized a subscribed
subject with the latest message available for that subject, but not with the potential messages published during
the fail-over, therefore behaving as a fresh client.
- NOTIFY_DATA_SYNC - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that after a fail-over reconnection, the client successfully synchronized a subscribed
subject with the latest message available for that subject, as well as with all messages published during the
fail-over period for that subject.
- NOTIFY_MESSAGE_SIZE_LIMIT_EXCEEDED - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was unable to publish a message because the size of the message
exceeds the message size limit allowed by the server (see the server parameter \c MAX_MESSAGE_SIZE).
- NOTIFY_PUBLISH_DENIED - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was not authorized to publish a message.
- NOTIFY_PUBLISH_FAILED - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was unable to publish a message.
- NOTIFY_PUBLISH_OK - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client successfully published a message.
- NOTIFY_SERVER_DOWN - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client failed to connect to a MigratoryData server.
- NOTIFY_SERVER_UP - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client successfully connected to a MigratoryData server.
- NOTIFY_SUBSCRIBE_ALLOW - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was authorized to subscribe to a subject.
- NOTIFY_SUBSCRIBE_DENY - Static variable in class com.migratorydata.client.MigratoryDataClient
-
A constant which indicates that the client was not authorized to subscribe to a subject.
- notifyAfterFailedConnectionAttempts(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the number of failed attempts to connect to one or more MigratoryData servers before triggering a status
notification MigratoryDataClient.NOTIFY_SERVER_DOWN.
- seq - Variable in class com.migratorydata.client.MigratoryDataMessage
-
- setBenchmarkMode(boolean) - Method in class com.migratorydata.client.MigratoryDataClient
-
- setCompressed(boolean) - Method in class com.migratorydata.client.MigratoryDataMessage
-
Set whether to compress the content of the message or not.
- setEncryption(boolean) - Method in class com.migratorydata.client.MigratoryDataClient
-
Configure whether or not to use an encrypted SSL/TLS connection to communicate with the server.
- setEntitlementToken(String) - Method in class com.migratorydata.client.MigratoryDataClient
-
Assign an entitlement token to the client or update its entitlement token.
- setExternalToken(String, MonotonicId) - Method in class com.migratorydata.client.MigratoryDataClient
-
Assign an external token to a client.
- setHttpHeader(String, String) - Method in class com.migratorydata.client.MigratoryDataClient
-
This method allows for the inclusion of custom HTTP headers.
- setListener(MigratoryDataListener) - Method in class com.migratorydata.client.MigratoryDataClient
-
Attach a listener for handling the received real-time messages as well as the status notifications.
- setLogListener(MigratoryDataLogListener, MigratoryDataLogLevel) - Method in class com.migratorydata.client.MigratoryDataClient
-
Attach a listener for handling log messages outputted by the library.
- setQuickReconnectInitialDelay(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
\brief Define the number of seconds to wait before attempting to reconnect to the cluster after a connection
failure is detected.
- setQuickReconnectMaxRetries(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the maximum number of retries for the Quick Reconnect fail-over phase.
- setReconnectMaxDelay(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the maximum reconnect delay for the MigratoryDataClient.TRUNCATED_EXPONENTIAL_BACKOFF policy.
- setReconnectPolicy(String) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the reconnect policy to be used after the Quick Reconnect phase.
- setReconnectTimeInterval(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the time interval used for the reconnect schedule after the Quick Reconnect phase.
- setServers(String[]) - Method in class com.migratorydata.client.MigratoryDataClient
-
Specify a cluster of one or more MigratoryData servers to which the client will connect to.
- setSocketTimeoutSeconds(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
- setSslHandshakeTimeoutSeconds(int) - Method in class com.migratorydata.client.MigratoryDataClient
-
- setTimestamp(boolean) - Method in class com.migratorydata.client.MigratoryDataClient
-
- setTransport(String) - Method in class com.migratorydata.client.MigratoryDataClient
-
Define the transport type used by the client to communicate with the MigratoryData cluster.
- setVerboseLogEventsHandler(VerboseLogEvents) - Method in class com.migratorydata.client.MigratoryDataClient
-
- subscribe(List<String>) - Method in class com.migratorydata.client.MigratoryDataClient
-
Subscribe to one or more subjects.
- subscribeFromOffset(String, int, int) - Method in class com.migratorydata.client.MigratoryDataClient
-
- subscribeWithHistory(List<String>, int) - Method in class com.migratorydata.client.MigratoryDataClient
-
Get the historical messages for one or more subjects, if any, then subscribe to those subjects.