| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |
Method Summary | |
---|---|
public
void | initialize(com.ibm.websphere.objectgrid.Session)
This method will be invoked when the ObjectGrid itself is initialized..
|
public
void | transactionBegin(java.lang.String, boolean)
This event will signal the beginning of a transaction (session). A stringified.
|
public
void | transactionEnd(java.lang.String, boolean, boolean, java.util.Collection)
This signals the ending of a transaction (session). A stringified. |
public
void | destroy()
This method will be invoked when the ObjectGrid is destroyed. It's the.
|
Method Detail |
public void initialize( | Session session )
|
session
-
The Session instance that this Listener is associated with.
public void transactionBegin( | String txid , | boolean isWriteThroughEnabled )
|
txid
-
Stringified version of the TxID
isWriteThroughEnabled
-
Boolean flag indicating whether the Sesison was started via beginNoWriteThrough
public void transactionEnd( | String txid , | boolean isWriteThroughEnabled ,
| boolean committed ,
| Collection changes )
|
This signals the ending of a transaction (session). A stringified version of the TxID is provided for correlating with the begin of the transaction (session), if so desired. Changes are also reported. Typical uses of this event are for customers doing custom peer invalidation or peer commit push. This event listener gives them the changes. Calls to this method are made after commit and are sequenced so that they are delivered one by one, not in parallel. The event order is the commit order.
txid
-
Stringified version of the TxID
isWriteThroughEnabled
-
a boolean flag indicating whether the Sesison was started via beginNoWriteThrough
committed
-
a boolean flag indicating whether the Session was committed (true) or rolled back (false)
changes
-
A Collection of LogSequences that have been processed for the current Session.
public void destroy( | ) |
initialize
. When this method is called, the
ObjectGridEventListener can free up any resource it uses.
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1 |