GigaSpaces XAP 7.0 API

com.j_spaces.javax.cache
Interface IConverter


Deprecated.

@Deprecated
public interface IConverter

The IConverter Interface provides conversion methods when using GigaSpaces Entry internal representation - The IGSEntry.
The IConverter allows you to convert the IGSEntry to the user original object format - that is JavaSpace Entry or Map API Object and vice versa.
IConverter used mainly with the CacheLoader and CacheStore interfaces via the AbstractCacheLoader.
You need to extend your CacheLoader/CacheStore implementation from the AbstractCacheLoader and use its getConvertor() method to retrieve IConverter instance.

Since:
5.1

Method Summary
 IGSEntry toIGSEntry(Object obj)
          Deprecated.  
 Object toObject(IGSEntry entry)
          Deprecated.  
 

Method Detail

toObject

Object toObject(IGSEntry entry)
Deprecated. 
Parameters:
entry - The IGSEntry representation of the Entry
Returns:
The original user Entry Object

toIGSEntry

IGSEntry toIGSEntry(Object obj)
Deprecated. 
Parameters:
obj - The object to convert to IGSEntry
Returns:
The converted object in IGSEntry format

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.