30 lines
501 B
Java
30 lines
501 B
Java
package com.tridium.orion.priv.util;
|
|
|
|
import java.util.List;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.util.IFilter;
|
|
|
|
public interface IPersistentQueue {
|
|
void clear();
|
|
|
|
BValue dequeue();
|
|
|
|
BValue dequeue(long j) throws InterruptedException;
|
|
|
|
void enqueue(BValue bValue);
|
|
|
|
List filter(IFilter iFilter, boolean z);
|
|
|
|
String getQueueName();
|
|
|
|
boolean isEmpty();
|
|
|
|
void load();
|
|
|
|
BValue peek();
|
|
|
|
BValue peek(long j) throws InterruptedException;
|
|
|
|
int size();
|
|
}
|