public class QuarterPartitionResolver
extends java.lang.Object
implements com.gemstone.gemfire.cache.FixedPartitionResolver, com.gemstone.gemfire.internal.cache.xmlcache.Declarable2, com.gemstone.gemfire.DataSerializable
| Constructor and Description |
|---|
QuarterPartitionResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(java.lang.Object obj) |
void |
fromData(java.io.DataInput in) |
java.util.Properties |
getConfig() |
java.lang.String |
getName() |
int |
getNumBuckets(java.lang.String partitionName,
java.lang.String regionName,
com.gemstone.gemfire.cache.PartitionAttributes partitionAttributes) |
java.lang.String |
getPartitionName(com.gemstone.gemfire.cache.EntryOperation opDetails,
java.util.Set allAvailablePartitions) |
java.io.Serializable |
getRoutingObject(com.gemstone.gemfire.cache.EntryOperation opDetails) |
void |
init(java.util.Properties props) |
void |
setnumBuckets(int numBukcets) |
void |
toData(java.io.DataOutput out) |
public java.lang.String getPartitionName(com.gemstone.gemfire.cache.EntryOperation opDetails,
java.util.Set allAvailablePartitions)
getPartitionName in interface com.gemstone.gemfire.cache.FixedPartitionResolverpublic java.lang.String getName()
getName in interface com.gemstone.gemfire.cache.PartitionResolverpublic java.io.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(java.lang.String partitionName,
java.lang.String regionName,
com.gemstone.gemfire.cache.PartitionAttributes partitionAttributes)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.util.Properties getConfig()
getConfig in interface com.gemstone.gemfire.internal.cache.xmlcache.Declarable2public void init(java.util.Properties props)
init in interface com.gemstone.gemfire.cache.Declarablepublic void fromData(java.io.DataInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
fromData in interface com.gemstone.gemfire.DataSerializablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void toData(java.io.DataOutput out)
throws java.io.IOException
toData in interface com.gemstone.gemfire.DataSerializablejava.io.IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.