public class BinaryAdapter extends PropertyStorageAdapter
| Constructor and Description |
|---|
BinaryAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromSpace(Object value)
Triggered when a property value arrives from the space and is about to be injected in the user's object.
|
String |
getName()
Returns a name used for display in monitoring tools.
|
Class<?> |
getStorageClass()
Returns the class of the values which will be stored in the space.
|
boolean |
supportsEqualsMatching()
Indicates whether equality matching is supported.
|
Object |
toSpace(Object value)
Triggered when a property value is retrieved from the user's object and is about to be sent to the space.
|
base64Decode, base64Encode, deserialize, serialize, supportsOrderedMatching, toBinaryWrapper, unwrapBinary, unzip, useBase64Wrapper, wrapBinary, zippublic String getName()
PropertyStorageAdaptergetName in class PropertyStorageAdapterpublic Class<?> getStorageClass()
PropertyStorageAdaptergetStorageClass in class PropertyStorageAdapterpublic boolean supportsEqualsMatching()
PropertyStorageAdaptersupportsEqualsMatching in class PropertyStorageAdapterpublic Object toSpace(Object value) throws IOException
PropertyStorageAdaptertoSpace in class PropertyStorageAdaptervalue - The original property valueIOException - Thrown when processing the property value fails.public Object fromSpace(Object value) throws IOException, ClassNotFoundException
PropertyStorageAdapterfromSpace in class PropertyStorageAdaptervalue - The value which was stored in the spaceIOException - Thrown when processing the property value fails.ClassNotFoundException - Thrown when processing the property value fails due to a class loading issue.Copyright © GigaSpaces.