public class RiskPartitionKey
extends java.lang.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(java.lang.String k,
int id,
int t) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(java.lang.Object obj) |
void |
fromData(java.io.DataInput in) |
java.lang.Integer |
getInstrumentId() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
java.io.Serializable |
getRoutingObject(com.gemstone.gemfire.cache.EntryOperation opDetails) |
int |
getType() |
int |
hashCode() |
void |
toData(java.io.DataOutput out) |
java.lang.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(java.lang.String k,
int id,
int t)
public java.lang.String getKey()
public java.lang.Integer getInstrumentId()
public int getType()
public 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.IOExceptionpublic 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 boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.