Package com.jalios.jstore.jsync
Interface JSyncConstants
- All Superinterfaces:
JaliosConstants
- All Known Implementing Classes:
FileFetcher,JcmsJSyncListener,JSyncDataListener,JSyncLogger,JSyncReplica,JSyncUtil
This interfaces contains public JSync constants
- Author:
- Olivier Dedieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringHTTP header for the JSync secretstatic final intStatus code (1404) indicating the request comes from a different IP address than the ones used for join.static final intStatus code (1405) indicating the request comes from a different IP address than the ones used for join.static final intStatus code (1411) indicating the join is rejected because the prefix is not the same as the leader.static final intStatus code (1400) indicating the message sent by the sender was syntactically incorrect.static final intStatus code (1408) indicating the check for the log work commit has failed.static final intStatus code (1409) indicating the log work has not been committed.static final intStatus code (1407) indicating the update request was rejected because this replicas is not connected.static final intStatus code (1412) indicating the received PT is empty.static final intStatus code (1410) indicating the join is rejected because the log format (file/dir) is not the same as the leader.static final intStatus code (1500) indicating an error inside the replica which prevented it from fulfilling the request.static final intStatus code (1401) indicating this replica do not process join request.static final intStatus code (1402) indicating this replica do not process join request.static final intStatus code (1101) indicating no acknowledge message was receivedstatic final intStatus code (1201) indicating no message was sentstatic final intStatus code (1200) indicating the request succeeded normally.static final intStatus code (1100) indicating an unknown errorstatic final intStatus code (1403) indicating this sender has not performed a join before sending this message.static final intStatus code (1406) indicating the join request comes from an URID already added.static final StringStatus for member replicastatic final StringStatus for leader replicastatic final StringStatus for lone replicastatic final StringStatus for member replicastatic final StringStatus for subleader replicaFields inherited from interface com.jalios.util.JaliosConstants
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
-
Field Details
-
SC_UNKNOWN
static final int SC_UNKNOWNStatus code (1100) indicating an unknown error- See Also:
-
SC_NO_ACK
static final int SC_NO_ACKStatus code (1101) indicating no acknowledge message was received- See Also:
-
SC_OK
static final int SC_OKStatus code (1200) indicating the request succeeded normally.- See Also:
-
SC_NO_SEND
static final int SC_NO_SENDStatus code (1201) indicating no message was sent- See Also:
-
SC_BAD_MESSAGE
static final int SC_BAD_MESSAGEStatus code (1400) indicating the message sent by the sender was syntactically incorrect.- See Also:
-
SC_JOIN_REJECTED
static final int SC_JOIN_REJECTEDStatus code (1401) indicating this replica do not process join request.- See Also:
-
SC_LEADER_CANNOT_JOIN
static final int SC_LEADER_CANNOT_JOINStatus code (1402) indicating this replica do not process join request.- See Also:
-
SC_UNKNOWN_URID
static final int SC_UNKNOWN_URIDStatus code (1403) indicating this sender has not performed a join before sending this message.- See Also:
-
SC_BAD_ADDRESS
static final int SC_BAD_ADDRESSStatus code (1404) indicating the request comes from a different IP address than the ones used for join.- See Also:
-
SC_BAD_LEADER
static final int SC_BAD_LEADERStatus code (1405) indicating the request comes from a different IP address than the ones used for join.- See Also:
-
SC_URID_ALREADY_ADDED
static final int SC_URID_ALREADY_ADDEDStatus code (1406) indicating the join request comes from an URID already added.- See Also:
-
SC_DISCONNECTED
static final int SC_DISCONNECTEDStatus code (1407) indicating the update request was rejected because this replicas is not connected.- See Also:
-
SC_CHECK_COMMIT_WORK_FAILED
static final int SC_CHECK_COMMIT_WORK_FAILEDStatus code (1408) indicating the check for the log work commit has failed.- See Also:
-
SC_COMMIT_WORK_FAILED
static final int SC_COMMIT_WORK_FAILEDStatus code (1409) indicating the log work has not been committed.- See Also:
-
SC_INCOMPATIBLE_LOG_FORMAT
static final int SC_INCOMPATIBLE_LOG_FORMATStatus code (1410) indicating the join is rejected because the log format (file/dir) is not the same as the leader.- See Also:
-
SC_BAD_LOG_PREFIX
static final int SC_BAD_LOG_PREFIXStatus code (1411) indicating the join is rejected because the prefix is not the same as the leader.- See Also:
-
SC_EMPTY_PT
static final int SC_EMPTY_PTStatus code (1412) indicating the received PT is empty.- See Also:
-
SC_INTERNAL_SERVER_ERROR
static final int SC_INTERNAL_SERVER_ERRORStatus code (1500) indicating an error inside the replica which prevented it from fulfilling the request.- See Also:
-
STATUS_LONE
Status for lone replica- See Also:
-
STATUS_MEMBER
Status for member replica- See Also:
-
STATUS_DISCONNECTED
Status for member replica- See Also:
-
STATUS_SUBLEADER
Status for subleader replica- See Also:
-
STATUS_LEADER
Status for leader replica- See Also:
-
HEADER_SECRET
HTTP header for the JSync secret- See Also:
-