Skip navigation links
A C D E G I M N O P R S T U V W 

A

addRecordMetadata(Headers, boolean, MigratoryDataMessage.QoS, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Add metadata to a Kafka record
addRecordMetadata(Headers, boolean, MigratoryDataMessage.QoS, boolean, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Add metadata to a Kafka record
advertiseInteractiveSubjects(List<String>) - Method in class com.migratorydata.client.MigratoryDataClient
Advertise interactive subjects via a list of wildcard subjects.

C

code() - Method in enum com.migratorydata.client.MigratoryDataMessage.MessageType
 
code() - Method in enum com.migratorydata.client.MigratoryDataMessage.QoS
 
com.migratorydata.client - package com.migratorydata.client
 
compressed - Variable in class com.migratorydata.client.MigratoryDataMessage
 
compressValue(byte[]) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Compress the value of a Kafka record
connect() - Method in class com.migratorydata.client.MigratoryDataClient
Connect to the MigratoryData cluster.
CONSTANT_WINDOW_BACKOFF - Static variable in class com.migratorydata.client.MigratoryDataClient
A constant used to define the reconnect policy.
createRecord(String, String, byte[], boolean, MigratoryDataMessage.QoS, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Creates a Kafka record to be sent to a specified topic, with customizable quality of service, compression, and retention options for MigratoryData
createRecord(String, int, String, byte[], boolean, MigratoryDataMessage.QoS, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Creates a Kafka record to be sent to a specified topic and partition, with customizable quality of service, compression, and retention options for MigratoryData
createRecord(String, int, long, String, byte[], boolean, MigratoryDataMessage.QoS, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Creates a Kafka record with a specified timestamp to be sent to a specified topic and partition, with customizable quality of service, compression, and retention options for MigratoryData
createRecord(String, String, byte[], boolean, MigratoryDataMessage.QoS, boolean, boolean) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Creates a Kafka record to be sent to a specified topic, with customizable quality of service, compression, and retention options for MigratoryData

D

decompressValue(byte[]) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Decompress the value of a Kafka record compressed with the compress method
disconnect() - Method in class com.migratorydata.client.MigratoryDataClient
Disconnect from the connected MigratoryData server and dispose the resources used by the connection.

E

epoch - Variable in class com.migratorydata.client.MigratoryDataMessage
 

G

getClosure() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the closure of the message.
getContent() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the content of the message.
getEpoch() - Method in class com.migratorydata.client.MigratoryDataMessage
 
getListener() - Method in class com.migratorydata.client.MigratoryDataClient
Get the listener for handling real-time messages and status notifications.
getMessageType() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the MessageType of the message.
getQos() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the QoS level of the message.
getRecordValue(ConsumerRecord<String, byte[]>) - Static method in class com.migratorydata.client.MigratoryDataKafkaUtils
Get the content of a Kafka record corresponding to a MigratoryData message
getReplySubject() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the reply subject of the message.
getResponse() - Method in class com.migratorydata.client.MigratoryDataMessage
 
getSeq() - Method in class com.migratorydata.client.MigratoryDataMessage
 
getSubject() - Method in class com.migratorydata.client.MigratoryDataMessage
Get the subject of the message.
getSubjects() - Method in class com.migratorydata.client.MigratoryDataClient
\brief Return the list of subscribed subjects.

I

isCompressed() - Method in class com.migratorydata.client.MigratoryDataMessage
Indicate whether or not the message should be/was compressed.
isRetained() - Method in class com.migratorydata.client.MigratoryDataMessage
Indicate whether or not the message should be/was retained by the server.

M

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.
MigratoryDataKafkaUtils - Class in com.migratorydata.client
This utility class is designed to handle the encoding and decoding of Kafka records that are associated with MigratoryData messages
MigratoryDataKafkaUtils() - Constructor for class com.migratorydata.client.MigratoryDataKafkaUtils
 
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.

N

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.

O

onLog(String, MigratoryDataLogLevel) - Method in interface com.migratorydata.client.MigratoryDataLogListener
This method handles the log messages outputted by the library.
onMessage(MigratoryDataMessage) - Method in interface com.migratorydata.client.MigratoryDataListener
This method handles the messages received from the server for the subscribed subjects.
onStatus(String, String) - Method in interface com.migratorydata.client.MigratoryDataListener
This method handles various status notifications.
onSubscribe(String) - Method in interface com.migratorydata.client.MigratoryDataInteractiveListener
Indicates that a first client has subscribed to the subject in the argument, across the entire MigratoryData cluster.
onUnsubscribe(String) - Method in interface com.migratorydata.client.MigratoryDataInteractiveListener
Indicates that the last client subscribed to the subject in the argument, across the entire MigratoryData cluster, has unsubscribed.

P

pause() - Method in class com.migratorydata.client.MigratoryDataClient
 
publish(MigratoryDataMessage) - Method in class com.migratorydata.client.MigratoryDataClient
Publish a message.

R

respond(String) - Method in class com.migratorydata.client.MigratoryDataMessage
 
resume() - Method in class com.migratorydata.client.MigratoryDataClient
 
retained - Variable in class com.migratorydata.client.MigratoryDataMessage
 

S

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) - Method in class com.migratorydata.client.MigratoryDataClient
Assigns an external token to enable client communication via external services while the client is offline.
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.

T

toString() - Method in class com.migratorydata.client.MigratoryDataMessage
 
TRANSPORT_HTTP - Static variable in class com.migratorydata.client.MigratoryDataClient
A constant used to define the transport type.
TRANSPORT_WEBSOCKET - Static variable in class com.migratorydata.client.MigratoryDataClient
A constant used to define the transport type.
TRUNCATED_EXPONENTIAL_BACKOFF - Static variable in class com.migratorydata.client.MigratoryDataClient
A constant used to define the reconnect policy.

U

unsubscribe(List<String>) - Method in class com.migratorydata.client.MigratoryDataClient
Unsubscribe from one or more subjects.

V

valueOf(String) - Static method in enum com.migratorydata.client.MigratoryDataLogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.migratorydata.client.MigratoryDataMessage.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.migratorydata.client.MigratoryDataMessage.QoS
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.migratorydata.client.MigratoryDataLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.migratorydata.client.MigratoryDataMessage.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.migratorydata.client.MigratoryDataMessage.QoS
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForResponse(long, TimeUnit) - Method in class com.migratorydata.client.MigratoryDataMessage
 
A C D E G I M N O P R S T U V W 
Skip navigation links

Copyright © 2024. All rights reserved.