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>, org.neo4j.com.RequestType<Master>
- Enclosing class:
- MasterClient
public static enum MasterClient.HaRequestType
- extends Enum<MasterClient.HaRequestType>
- implements org.neo4j.com.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
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 org.neo4j.com.ObjectSerializer getObjectSerializer()
- Specified by:
getObjectSerializer in interface org.neo4j.com.RequestType<Master>
getMasterCaller
public org.neo4j.com.MasterCaller getMasterCaller()
- Specified by:
getMasterCaller in interface org.neo4j.com.RequestType<Master>
id
public byte id()
- Specified by:
id in interface org.neo4j.com.RequestType<Master>
includesSlaveContext
public boolean includesSlaveContext()
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.