org.neo4j.kernel.ha.com.master
Enum SlaveClient.SlaveRequestType
java.lang.Object
java.lang.Enum<SlaveClient.SlaveRequestType>
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>
PULL_UPDATES
public static final SlaveClient.SlaveRequestType PULL_UPDATES
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.