Class OLiveQueryHookV2.OLiveQueryOps
java.lang.Object
com.orientechnologies.orient.core.query.live.OLiveQueryHookV2.OLiveQueryOps
- All Implemented Interfaces:
OCloseable
- Enclosing class:
- OLiveQueryHookV2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<ODatabaseDocument,List<OLiveQueryHookV2.OLiveQueryOp>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes resources inside of call of OStorage#close().voidgetQueue()booleansubscribe(Integer id, OLiveQueryListenerV2 iListener) voidunsubscribe(Integer id)
-
Field Details
-
pendingOps
-
-
Constructor Details
-
OLiveQueryOps
public OLiveQueryOps()
-
-
Method Details
-
close
public void close()Description copied from interface:OCloseableCloses resources inside of call of OStorage#close(). So do not use locks when you call this method or you may have deadlock during storage close. This method is completely house keeping method and plays role of Object#finalize() in case of you need to clean up resources after storage is closed.- Specified by:
closein interfaceOCloseable
-
getQueueThread
-
getSubscribers
-
getQueue
-
enqueue
-
subscribe
-
unsubscribe
-
hasListeners
public boolean hasListeners()
-