xmlBlaster 2.2.0 API

org.xmlBlaster.util.queue
Interface I_EntryFilter


public interface I_EntryFilter

Callback when entries are accessed from storage.


Method Summary
 I_Entry intercept(I_Entry entry, I_Storage storage)
          Invoked by the I_Map or I_Queue implementation when entries are read from the store.
 

Method Detail

intercept

I_Entry intercept(I_Entry entry,
                  I_Storage storage)
Invoked by the I_Map or I_Queue implementation when entries are read from the store. Your implementation may not throw any exception, the behavior in such a case is undefined. Note: Expect to receive same entry twice if the underlying implementation is a CACHE. There the RAM and the JDBC store may independently deliver the same entry if the entry is persistent and currently in the cache.

Parameters:
entry - The current entry read, is never null
storage - the method isTransient() allows to check the source of the event (RAM or JDBC) Is never null
Returns:
The entry to use, if null the given entry is filtered away. It can be a new, manipulated entry as well

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.