org.neo4j.kernel.ha
Enum CommunicationProtocol.RequestType

java.lang.Object
  extended by java.lang.Enum<CommunicationProtocol.RequestType>
      extended by 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>


Enum Constant Summary
ACQUIRE_NODE_READ_LOCK
           
ACQUIRE_NODE_WRITE_LOCK
           
ACQUIRE_RELATIONSHIP_READ_LOCK
           
ACQUIRE_RELATIONSHIP_WRITE_LOCK
           
ALLOCATE_IDS
           
COMMIT
           
CREATE_RELATIONSHIP_TYPE
           
FINISH
           
GET_MASTER_ID_FOR_TX
           
PULL_UPDATES
           
 
Method Summary
 boolean includesSlaveContext()
           
static CommunicationProtocol.RequestType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CommunicationProtocol.RequestType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.