org.neo4j.kernel.ha
Enum CommunicationProtocol.RequestType
java.lang.Object
java.lang.Enum<CommunicationProtocol.RequestType>
org.neo4j.kernel.ha.CommunicationProtocol.RequestType
- All Implemented Interfaces:
- Serializable, Comparable<CommunicationProtocol.RequestType>
- Enclosing class:
- CommunicationProtocol
public static enum CommunicationProtocol.RequestType
- extends Enum<CommunicationProtocol.RequestType>
ALLOCATE_IDS
public static final CommunicationProtocol.RequestType ALLOCATE_IDS
CREATE_RELATIONSHIP_TYPE
public static final CommunicationProtocol.RequestType CREATE_RELATIONSHIP_TYPE
ACQUIRE_NODE_WRITE_LOCK
public static final CommunicationProtocol.RequestType ACQUIRE_NODE_WRITE_LOCK
ACQUIRE_NODE_READ_LOCK
public static final CommunicationProtocol.RequestType ACQUIRE_NODE_READ_LOCK
ACQUIRE_RELATIONSHIP_WRITE_LOCK
public static final CommunicationProtocol.RequestType ACQUIRE_RELATIONSHIP_WRITE_LOCK
ACQUIRE_RELATIONSHIP_READ_LOCK
public static final CommunicationProtocol.RequestType ACQUIRE_RELATIONSHIP_READ_LOCK
COMMIT
public static final CommunicationProtocol.RequestType COMMIT
PULL_UPDATES
public static final CommunicationProtocol.RequestType PULL_UPDATES
FINISH
public static final CommunicationProtocol.RequestType FINISH
GET_MASTER_ID_FOR_TX
public static final CommunicationProtocol.RequestType GET_MASTER_ID_FOR_TX
values
public static CommunicationProtocol.RequestType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CommunicationProtocol.RequestType c : CommunicationProtocol.RequestType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CommunicationProtocol.RequestType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
includesSlaveContext
public boolean includesSlaveContext()
Copyright © 2010 The Neo4j Graph Database Project. All Rights Reserved.