com.hazelcast.partition.impl
Enum InternalPartitionServiceState

java.lang.Object
  extended by java.lang.Enum<InternalPartitionServiceState>
      extended by com.hazelcast.partition.impl.InternalPartitionServiceState
All Implemented Interfaces:
Serializable, Comparable<InternalPartitionServiceState>

public enum InternalPartitionServiceState
extends Enum<InternalPartitionServiceState>


Enum Constant Summary
MIGRATION_LOCAL
          Indicates that there is a migration operation ongoing on this node
MIGRATION_ON_MASTER
          Indicates that master node manages a migration operation between 2 other nodes
REPLICA_NOT_SYNC
          Indicates that there is an not-sync first replica on other nodes for owned partitions of the this node
SAFE
          Indicates that there is no migration operation on the system and all first backups are sync for partitions owned by this node
 
Method Summary
static InternalPartitionServiceState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InternalPartitionServiceState[] 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

SAFE

public static final InternalPartitionServiceState SAFE
Indicates that there is no migration operation on the system and all first backups are sync for partitions owned by this node


MIGRATION_LOCAL

public static final InternalPartitionServiceState MIGRATION_LOCAL
Indicates that there is a migration operation ongoing on this node


MIGRATION_ON_MASTER

public static final InternalPartitionServiceState MIGRATION_ON_MASTER
Indicates that master node manages a migration operation between 2 other nodes


REPLICA_NOT_SYNC

public static final InternalPartitionServiceState REPLICA_NOT_SYNC
Indicates that there is an not-sync first replica on other nodes for owned partitions of the this node

Method Detail

values

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

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

valueOf

public static InternalPartitionServiceState 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


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.