org.neo4j.kernel.ha
Enum MasterClient.HaRequestType
java.lang.Object
java.lang.Enum<MasterClient.HaRequestType>
org.neo4j.kernel.ha.MasterClient.HaRequestType
- All Implemented Interfaces:
- Serializable, Comparable<MasterClient.HaRequestType>, RequestType<Master>
- Enclosing class:
- MasterClient
public static enum MasterClient.HaRequestType
- extends Enum<MasterClient.HaRequestType>
- implements RequestType<Master>
ALLOCATE_IDS
public static final MasterClient.HaRequestType ALLOCATE_IDS
CREATE_RELATIONSHIP_TYPE
public static final MasterClient.HaRequestType CREATE_RELATIONSHIP_TYPE
ACQUIRE_NODE_WRITE_LOCK
public static final MasterClient.HaRequestType ACQUIRE_NODE_WRITE_LOCK
ACQUIRE_NODE_READ_LOCK
public static final MasterClient.HaRequestType ACQUIRE_NODE_READ_LOCK
ACQUIRE_RELATIONSHIP_WRITE_LOCK
public static final MasterClient.HaRequestType ACQUIRE_RELATIONSHIP_WRITE_LOCK
ACQUIRE_RELATIONSHIP_READ_LOCK
public static final MasterClient.HaRequestType ACQUIRE_RELATIONSHIP_READ_LOCK
COMMIT
public static final MasterClient.HaRequestType COMMIT
PULL_UPDATES
public static final MasterClient.HaRequestType PULL_UPDATES
FINISH
public static final MasterClient.HaRequestType FINISH
GET_MASTER_ID_FOR_TX
public static final MasterClient.HaRequestType GET_MASTER_ID_FOR_TX
COPY_STORE
public static final MasterClient.HaRequestType COPY_STORE
COPY_TRANSACTIONS
public static final MasterClient.HaRequestType COPY_TRANSACTIONS
INITIALIZE_TX
public static final MasterClient.HaRequestType INITIALIZE_TX
ACQUIRE_INDEX_READ_LOCK
public static final MasterClient.HaRequestType ACQUIRE_INDEX_READ_LOCK
ACQUIRE_INDEX_WRITE_LOCK
public static final MasterClient.HaRequestType ACQUIRE_INDEX_WRITE_LOCK
values
public static MasterClient.HaRequestType[] 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 (MasterClient.HaRequestType c : MasterClient.HaRequestType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MasterClient.HaRequestType 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
getObjectSerializer
public ObjectSerializer getObjectSerializer()
- Specified by:
getObjectSerializer in interface RequestType<Master>
getMasterCaller
public MasterCaller getMasterCaller()
- Specified by:
getMasterCaller in interface RequestType<Master>
id
public byte id()
- Specified by:
id in interface RequestType<Master>
includesSlaveContext
public boolean includesSlaveContext()
isLock
public boolean isLock()
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.