IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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

Enclosing interface:
BackingMapLifecycleListener

public static interface BackingMapLifecycleListener.LifecycleEvent

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


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

Method Detail

getBackingMap

BackingMap getBackingMap()
Retrieve the BackingMap instance that the event applies to.

Returns:
the BackingMap instance that the event applies to.

getState

BackingMapLifecycleListener.State getState()
Get the lifecycle state occurring for this event.

Returns:
State - the new life cycle state

isReadable

boolean isReadable()
Answers true when the BackingMap instance is currently readable. Data can be read from the map. A map 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 BackingMap instance is currently writable. Data can be modified in the map. A map is writable for all local and client grid instances when the BackingMap.getReadOnly() answers false. Map instances on the primary shard, server instance are locally writable when they are currently on-line and the BackingMap.getReadOnly() answers false.


IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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