IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.plugins
Interface LogSequenceFilter

All Known Implementing Classes:
JMSObjectGridEventListener

public interface LogSequenceFilter

This interface can be used to filter a LogSequence. As an operation, such as serialization, needs to know whether a given LogElement should be included or not, this callback object will be used for the boolean check. If the given LogElement should be used in the operation, then "true" should be returned. If the given LogElement should not be used, then "false" should be returned. This interface is primarily used by the serialize method of the LogSequenceTransformer class.

Since:
WAS XD 6.0, XC10

Method Summary
 boolean accept(LogElement logElement)
          Returns true if the given LogElement should be used; false if the given LogElement should not be used.
 

Method Detail

accept

boolean accept(LogElement logElement)
Returns true if the given LogElement should be used; false if the given LogElement should not be used.

Parameters:
logElement - the LogElement to be filtered
Returns:
true if the given LogElement should be used in the operation; false otherwise.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

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