public class SpaceEntryPropertyGetter extends AbstractSpaceValueGetter<ServerEntry>
Constructor and Description |
---|
SpaceEntryPropertyGetter()
Default constructor required by Externalizable.
|
SpaceEntryPropertyGetter(int index)
Creates a property value getter using the specified property index.
|
SpaceEntryPropertyGetter(String name)
Creates a property value getter using the specified property name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPropertyName() |
Object |
getValue(ServerEntry target)
Gets the value from the specified target.
|
protected void |
readExternalImpl(ObjectInput in) |
void |
readFromSwap(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
void |
writeToSwap(ObjectOutput out) |
readExternal, writeExternal
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
readExternal, writeExternal
public SpaceEntryPropertyGetter()
public SpaceEntryPropertyGetter(int index)
propertyId
- Index of property.public SpaceEntryPropertyGetter(String name)
name
- Name of property.public Object getValue(ServerEntry target)
ISpaceValueGetter
getValue
in interface ISpaceValueGetter<ServerEntry>
getValue
in class AbstractSpaceValueGetter<ServerEntry>
target
- Target object to get value from.public String getPropertyName()
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class AbstractExternalizable
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class AbstractExternalizable
IOException
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public void writeToSwap(ObjectOutput out) throws IOException
IOException
Copyright © GigaSpaces.