IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins
Interface RollbackEvictor

All Known Implementing Classes:
LFUEvictor, LRUEvictor

public interface RollbackEvictor

This interface is optionally implemented by an Evictor plugin. By implementing this interface, an Evictor can be invoked not only when a transaction commits, but when it rolls back as well. The intent is this interface is that only a class that implements the Evictor interface would optionally implement this interface.

Since:
WAS XD 6.0.1
See Also:
Evictor

Method Summary
 void rollingBack(LogSequence sequence)
          Called after a transaction rollback to allow an evictor to track object usage in a backing map even when rollback occurs instead of commit.
 

Method Detail

rollingBack

void rollingBack(LogSequence sequence)
Called after a transaction rollback to allow an evictor to track object usage in a backing map even when rollback occurs instead of commit. Since the transaction is rolling back, the Evictor must be aware that it cannot depend on the LogElement type to infer the existence or non-existence of a map entry. See Evictor.apply(LogSequence) for other considerations when implementing this method. Many of the considerations with the Evictor.apply method also apply to this method.

Parameters:
sequence - LogSequence of changes to the map
See Also:
Evictor.apply(LogSequence)

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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