Skip navigation links

Oracle Complex Event Processing API Reference
11g Release 1 (11.1.1)

E14303-03
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.oracle.cep.cluster.ha.adapter
Interface QueueTrimmingStrategy

All Known Subinterfaces:
DelegatingQueueTrimmingStrategy
All Known Implementing Classes:
NullTrimmingStrategy, BufferingQueueTrimmingStrategy, BroadcastQueueTrimmingAdapter

public interface QueueTrimmingStrategy

Strategy interface for the kind of queue trimming required by a QueueTrimmingAdapter.


Method Summary
 void onProcessedEvent(java.lang.Object event)
          Action to take when an event is actually processed
 void onQueuedEvent(TrimmableQueue queue)
          Action to take when an event is inserted into the local trimming queue.

 

Method Detail

onProcessedEvent

public void onProcessedEvent(java.lang.Object event)
Action to take when an event is actually processed
Parameters:
event - that was inserted

onQueuedEvent

public void onQueuedEvent(TrimmableQueue queue)
Action to take when an event is inserted into the local trimming queue.
Parameters:
queue - to insert event into.

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2010 Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD