|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.objectgrid.deployment.ShardType
public class ShardType
Defines the type of shard for the ShardMappings. There are 3 ShardTypes: PRIMARY, SYNCHRONOUS_REPLICA, and ASYNCHRONOUS_REPLICA
ShardMapping
,
Serialized FormField Summary | |
---|---|
static ShardType |
ASYNCHRONOUS_REPLICA
Represents an asynchronous replica shard. |
static ShardType |
PRIMARY
Represents a primary shard. |
static ShardType |
SYNCHRONOUS_REPLICA
Represents a synchronous replica shard. |
Method Summary | |
---|---|
String |
toString()
Returns a string representation of the ShardType . |
static ShardType |
valueOf(byte id)
Given the raw value of a ShardType, this method returns a ShardType object, or null if the raw value does not match an existing type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ShardType PRIMARY
public static final ShardType SYNCHRONOUS_REPLICA
public static final ShardType ASYNCHRONOUS_REPLICA
Method Detail |
---|
public static final ShardType valueOf(byte id)
id
- the raw value of a ShardType
public String toString()
ShardType
.
toString
in class Object
ShardType
.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |