public class SingleHopQuarterPartitionResolver extends Object implements com.gemstone.gemfire.cache.FixedPartitionResolver, com.gemstone.gemfire.internal.cache.xmlcache.Declarable2, com.gemstone.gemfire.DataSerializable
| Constructor and Description |
|---|
SingleHopQuarterPartitionResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object obj) |
void |
fromData(DataInput in) |
Properties |
getConfig() |
String |
getName() |
int |
getNumBuckets(String partitionName,
String regionName,
com.gemstone.gemfire.cache.PartitionAttributes partitionAttributes) |
String |
getPartitionName(com.gemstone.gemfire.cache.EntryOperation opDetails,
Set allAvailablePartitions) |
Serializable |
getRoutingObject(com.gemstone.gemfire.cache.EntryOperation opDetails) |
void |
init(Properties props) |
void |
setnumBuckets(int numBukcets) |
void |
toData(DataOutput out) |
public String getPartitionName(com.gemstone.gemfire.cache.EntryOperation opDetails, Set allAvailablePartitions)
getPartitionName in interface com.gemstone.gemfire.cache.FixedPartitionResolverpublic String getName()
getName in interface com.gemstone.gemfire.cache.PartitionResolverpublic Serializable getRoutingObject(com.gemstone.gemfire.cache.EntryOperation opDetails)
getRoutingObject in interface com.gemstone.gemfire.cache.PartitionResolverpublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackpublic void setnumBuckets(int numBukcets)
public int getNumBuckets(String partitionName, String regionName, com.gemstone.gemfire.cache.PartitionAttributes partitionAttributes)
public Properties getConfig()
getConfig in interface com.gemstone.gemfire.internal.cache.xmlcache.Declarable2public void init(Properties props)
init in interface com.gemstone.gemfire.cache.Declarablepublic void fromData(DataInput in) throws IOException, ClassNotFoundException
fromData in interface com.gemstone.gemfire.DataSerializableIOExceptionClassNotFoundExceptionpublic void toData(DataOutput out) throws IOException
toData in interface com.gemstone.gemfire.DataSerializableIOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.