IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.datagrid
Interface EntityAgentMixin


public interface EntityAgentMixin

This interface can be implemented by an agent. If the BackingMap is associated with an entity, then a collection of entities will be provided to the agent for each found key. If the key cannot be found, then the Tuple that represents the entity's key is provided.

Since:
WAS XD 6.1
See Also:
MapGridAgent, ReduceGridAgent

Method Summary
 Class getClassForEntity()
          This method returns the class to be used instead of the key object when the agent action methods are called.
 

Method Detail

getClassForEntity

Class getClassForEntity()
This method returns the class to be used instead of the key object when the agent action methods are called. This method is only relevant on the 'server' side The client can use any annotated Java object independent of the server one.

Returns:
The Class of an Entity to use.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.