IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

com.ibm.websphere.objectgrid.plugins
Interface ObjectGridEventGroup.ShardLifecycle

Enclosing interface:
ObjectGridEventGroup

public static interface ObjectGridEventGroup.ShardLifecycle

These events are fired when an ObjectGrid shard is initialized and destroyed. A shard can be activated/deactivated multiple times within these two events.


Method Summary
 void destroy()
          Called when the ObjectGrid associated with this listener is destroyed.
 void initialize(Session session)
          Invoked when an ObjectGrid is initialized.
 

Method Detail

initialize

void initialize(Session session)
Invoked when an ObjectGrid is initialized.

A usable Session instance is passed to this listener to provide all of the necessary access to the various ObjectGrid objects.

Parameters:
session - a Session instance that this listener is associated with.
See Also:
ObjectGrid.initialize()

destroy

void destroy()

Called when the ObjectGrid associated with this listener is destroyed.

This method is the opposite of the initialize method. When it is called, the listener can free up any resources it uses.

See Also:
ObjectGrid.destroy()

IBM WebSphereTM eXtreme Scale, Release 8.5
API Specification

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