IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

com.ibm.websphere.objectgrid.deployment
Class ShardType

java.lang.Object
  extended by com.ibm.websphere.objectgrid.deployment.ShardType
All Implemented Interfaces:
Serializable

public class ShardType
extends Object
implements Serializable

Defines the type of shard for the ShardMappings. There are 3 ShardTypes: PRIMARY, SYNCHRONOUS_REPLICA, and ASYNCHRONOUS_REPLICA

Since:
WAS XD 6.1 FIX3
See Also:
ShardMapping, Serialized Form

Field 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PRIMARY

public static final ShardType PRIMARY
Represents a primary shard.


SYNCHRONOUS_REPLICA

public static final ShardType SYNCHRONOUS_REPLICA
Represents a synchronous replica shard.


ASYNCHRONOUS_REPLICA

public static final ShardType ASYNCHRONOUS_REPLICA
Represents an asynchronous replica shard.

Method Detail

toString

public String toString()
Returns a string representation of the ShardType.

Overrides:
toString in class Object
Returns:
a string representation of the ShardType.

IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.