public static class OLiveQueryHookV2.OLiveQueryOps extends Object implements OCloseable
Modifier and Type | Field and Description |
---|---|
protected Map<ODatabaseDocument,List<OLiveQueryHookV2.OLiveQueryOp>> |
pendingOps |
Constructor and Description |
---|
OLiveQueryOps() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes resources inside of call of OStorage#close().
|
void |
enqueue(OLiveQueryHookV2.OLiveQueryOp item) |
BlockingQueue<OLiveQueryHookV2.OLiveQueryOp> |
getQueue() |
OLiveQueryQueueThreadV2 |
getQueueThread() |
Map<Integer,OLiveQueryListenerV2> |
getSubscribers() |
boolean |
hasListeners() |
Integer |
subscribe(Integer id,
OLiveQueryListenerV2 iListener) |
void |
unsubscribe(Integer id) |
protected Map<ODatabaseDocument,List<OLiveQueryHookV2.OLiveQueryOp>> pendingOps
public void close()
OCloseable
close
in interface OCloseable
public OLiveQueryQueueThreadV2 getQueueThread()
public Map<Integer,OLiveQueryListenerV2> getSubscribers()
public BlockingQueue<OLiveQueryHookV2.OLiveQueryOp> getQueue()
public void enqueue(OLiveQueryHookV2.OLiveQueryOp item)
public Integer subscribe(Integer id, OLiveQueryListenerV2 iListener)
public void unsubscribe(Integer id)
public boolean hasListeners()
Copyright © 2009–2020 OrientDB. All rights reserved.