Package com.jalios.jstore.jsync
Interface JSyncConstants
- 
- All Superinterfaces:
 JaliosConstants
- All Known Implementing Classes:
 FileFetcher,JcmsJSyncListener,JSyncDataListener,JSyncLogger,JSyncPreviousReplicaManager,JSyncReplica,JSyncUtil
public interface JSyncConstants extends JaliosConstants
This interfaces contains public JSync constants- Version:
 - $Revision: 106758 $
 - Author:
 - Olivier Dedieu
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREVISIONstatic intSC_BAD_ADDRESSStatus code (1404) indicating the request comes from a different IP address than the ones used for join.static intSC_BAD_LEADERStatus code (1405) indicating the request comes from a different IP address than the ones used for join.static intSC_BAD_MESSAGEStatus code (1400) indicating the message sent by the sender was syntactically incorrect.static intSC_DISCONNECTEDStatus code (1407) indicating the update request was rejected because this replicas is not connected.static intSC_INTERNAL_SERVER_ERRORStatus code (1500) indicating an error inside the replica which prevented it from fulfilling the request.static intSC_JOIN_REJECTEDStatus code (1401) indicating this replica do not process join request.static intSC_LEADER_CANNOT_JOINStatus code (1402) indicating this replica do not process join request.static intSC_NO_ACKStatus code (1101) indicating no acknowledge message was receivedstatic intSC_NO_SENDStatus code (1201) indicating no message was sentstatic intSC_OKStatus code (1200) indicating the request succeeded normally.static intSC_UNKNOWNStatus code (1100) indicating an unknown errorstatic intSC_UNKNOWN_URIDStatus code (1403) indicating this sender has not performed a join before sending this message.static intSC_URID_ALREADY_ADDEDStatus code (1406) indicating the join request comes from an URID already added.static java.lang.StringSTATUS_DISCONNECTEDStatus for member replicastatic java.lang.StringSTATUS_LEADERStatus for leader replicastatic java.lang.StringSTATUS_LONEStatus for lone replicastatic java.lang.StringSTATUS_MEMBERStatus for member replicastatic java.lang.StringSTATUS_SUBLEADERStatus for subleader replica- 
Fields 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 Detail
- 
REVISION
static final java.lang.String REVISION
- See Also:
 - Constant Field Values
 
 
- 
SC_UNKNOWN
static final int SC_UNKNOWN
Status code (1100) indicating an unknown error- See Also:
 - Constant Field Values
 
 
- 
SC_NO_ACK
static final int SC_NO_ACK
Status code (1101) indicating no acknowledge message was received- See Also:
 - Constant Field Values
 
 
- 
SC_OK
static final int SC_OK
Status code (1200) indicating the request succeeded normally.- See Also:
 - Constant Field Values
 
 
- 
SC_NO_SEND
static final int SC_NO_SEND
Status code (1201) indicating no message was sent- See Also:
 - Constant Field Values
 
 
- 
SC_BAD_MESSAGE
static final int SC_BAD_MESSAGE
Status code (1400) indicating the message sent by the sender was syntactically incorrect.- See Also:
 - Constant Field Values
 
 
- 
SC_JOIN_REJECTED
static final int SC_JOIN_REJECTED
Status code (1401) indicating this replica do not process join request.- See Also:
 - Constant Field Values
 
 
- 
SC_LEADER_CANNOT_JOIN
static final int SC_LEADER_CANNOT_JOIN
Status code (1402) indicating this replica do not process join request.- See Also:
 - Constant Field Values
 
 
- 
SC_UNKNOWN_URID
static final int SC_UNKNOWN_URID
Status code (1403) indicating this sender has not performed a join before sending this message.- See Also:
 - Constant Field Values
 
 
- 
SC_BAD_ADDRESS
static final int SC_BAD_ADDRESS
Status code (1404) indicating the request comes from a different IP address than the ones used for join.- See Also:
 - Constant Field Values
 
 
- 
SC_BAD_LEADER
static final int SC_BAD_LEADER
Status code (1405) indicating the request comes from a different IP address than the ones used for join.- See Also:
 - Constant Field Values
 
 
- 
SC_URID_ALREADY_ADDED
static final int SC_URID_ALREADY_ADDED
Status code (1406) indicating the join request comes from an URID already added.- See Also:
 - Constant Field Values
 
 
- 
SC_DISCONNECTED
static final int SC_DISCONNECTED
Status code (1407) indicating the update request was rejected because this replicas is not connected.- See Also:
 - Constant Field Values
 
 
- 
SC_INTERNAL_SERVER_ERROR
static final int SC_INTERNAL_SERVER_ERROR
Status code (1500) indicating an error inside the replica which prevented it from fulfilling the request.- See Also:
 - Constant Field Values
 
 
- 
STATUS_LONE
static final java.lang.String STATUS_LONE
Status for lone replica- See Also:
 - Constant Field Values
 
 
- 
STATUS_MEMBER
static final java.lang.String STATUS_MEMBER
Status for member replica- See Also:
 - Constant Field Values
 
 
- 
STATUS_DISCONNECTED
static final java.lang.String STATUS_DISCONNECTED
Status for member replica- See Also:
 - Constant Field Values
 
 
- 
STATUS_SUBLEADER
static final java.lang.String STATUS_SUBLEADER
Status for subleader replica- See Also:
 - Constant Field Values
 
 
- 
STATUS_LEADER
static final java.lang.String STATUS_LEADER
Status for leader replica- See Also:
 - Constant Field Values
 
 
 - 
 
 -