Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing
11g Release 1 (11.1.1.4.0)

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


com.oracle.cep.cluster.ha.adapter
Class TimedTrimmableQueue

java.lang.Object
  |
  +--com.oracle.cep.cluster.ha.adapter.TimedTrimmableQueue

public class TimedTrimmableQueue
extends java.lang.Object
implements TrimmableQueue

TrimmableQueue that records the entry time of events into the window and thus can be easily trimmed of older events.


Constructor Summary
TimedTrimmableQueue()
           

 

Method Summary
 boolean add(java.lang.Object e)
           
 void clear()
           
 java.lang.Object peek()
           
 java.lang.Object poll()
           
 void removeOlderThan(long timeMillis)
           
 int size()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TimedTrimmableQueue

public TimedTrimmableQueue()

Method Detail

add

public boolean add(java.lang.Object e)
Specified by:
add in interface TrimmableQueue

poll

public java.lang.Object poll()
Specified by:
poll in interface TrimmableQueue

removeOlderThan

public void removeOlderThan(long timeMillis)

size

public int size()
Specified by:
size in interface TrimmableQueue

peek

public java.lang.Object peek()
Specified by:
peek in interface TrimmableQueue

clear

public void clear()
Specified by:
clear in interface TrimmableQueue

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