public class RiskPartitionKey extends Object implements com.gemstone.gemfire.DataSerializable, com.gemstone.gemfire.cache.PartitionResolver
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_INSTRUMENT |
static int |
TYPE_INSTRUMENT_RISK_SENSITIVITY |
static int |
TYPE_POSITION |
static int |
TYPE_POSITION_RISK |
static int |
TYPE_UND_RISK_SENSITIVITY |
| Constructor and Description |
|---|
RiskPartitionKey() |
RiskPartitionKey(String k,
int id,
int t) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object obj) |
void |
fromData(DataInput in) |
Integer |
getInstrumentId() |
String |
getKey() |
String |
getName() |
Serializable |
getRoutingObject(com.gemstone.gemfire.cache.EntryOperation opDetails) |
int |
getType() |
int |
hashCode() |
void |
toData(DataOutput out) |
String |
toString() |
public static final int TYPE_POSITION
public static final int TYPE_POSITION_RISK
public static final int TYPE_INSTRUMENT
public static final int TYPE_INSTRUMENT_RISK_SENSITIVITY
public static final int TYPE_UND_RISK_SENSITIVITY
public RiskPartitionKey()
public RiskPartitionKey(String k, int id, int t)
public String getKey()
public Integer getInstrumentId()
public int getType()
public 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.DataSerializableIOExceptionpublic 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.CacheCallbackCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.