IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins
Interface ObjectGridLifecycleListener.LifecycleEvent

Enclosing interface:
ObjectGridLifecycleListener

public static interface ObjectGridLifecycleListener.LifecycleEvent

The LifecycleEvent describes the situation that caused a change in the lifecycle of the ObjectGrid.


Method Summary
 ObjectGrid getObjectGrid()
          Retrieve the ObjectGrid instance that the event applies to.
 ObjectGridLifecycleListener.State getState()
          Retrieve the lifecycle state occurring for this event.
 boolean isReadable()
          Answers true when the ObjectGrid instance is currently readable.
 boolean isWritable()
          Answers true when the ObjectGrid instance is currently writable.
 

Method Detail

getObjectGrid

ObjectGrid getObjectGrid()
Retrieve the ObjectGrid instance that the event applies to.

Returns:
the ObjectGrid instance that the event applies to.

getState

ObjectGridLifecycleListener.State getState()
Retrieve the lifecycle state occurring for this event.

Returns:
State - the new life cycle state

isReadable

boolean isReadable()
Answers true when the ObjectGrid instance is currently readable. Data can be read from the grid. A grid is readable for all local and client grid instances that have been initialized. Server instances are locally readable when they are currently on-line. Replica instances on the server are not necessarily readable depending on the current configuration of the grid.


isWritable

boolean isWritable()
Answers true when the ObjectGrid instance is currently writable. Data can be modified in the grid. A grid is writable for all local and client grid instances that have been initialized. Primary shard, server instances are locally writable when they are currently on-line.


IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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