org.neo4j.kernel.ha.com.master
Enum SlaveClient.SlaveRequestType

java.lang.Object
  extended by java.lang.Enum<SlaveClient.SlaveRequestType>
      extended by org.neo4j.kernel.ha.com.master.SlaveClient.SlaveRequestType
All Implemented Interfaces:
Serializable, Comparable<SlaveClient.SlaveRequestType>, org.neo4j.com.RequestType<Slave>
Enclosing class:
SlaveClient

public static enum SlaveClient.SlaveRequestType
extends Enum<SlaveClient.SlaveRequestType>
implements org.neo4j.com.RequestType<Slave>


Enum Constant Summary
PULL_UPDATES
           
 
Method Summary
 org.neo4j.com.ObjectSerializer getObjectSerializer()
           
 org.neo4j.com.TargetCaller getTargetCaller()
           
 byte id()
           
static SlaveClient.SlaveRequestType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SlaveClient.SlaveRequestType[] 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

PULL_UPDATES

public static final SlaveClient.SlaveRequestType PULL_UPDATES
Method Detail

values

public static SlaveClient.SlaveRequestType[] 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 (SlaveClient.SlaveRequestType c : SlaveClient.SlaveRequestType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SlaveClient.SlaveRequestType 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

getTargetCaller

public org.neo4j.com.TargetCaller getTargetCaller()
Specified by:
getTargetCaller in interface org.neo4j.com.RequestType<Slave>

getObjectSerializer

public org.neo4j.com.ObjectSerializer getObjectSerializer()
Specified by:
getObjectSerializer in interface org.neo4j.com.RequestType<Slave>

id

public byte id()
Specified by:
id in interface org.neo4j.com.RequestType<Slave>


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.