Class OSBTreeCollectionManagerRemote
java.lang.Object
com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote
- All Implemented Interfaces:
OCloseable,OOrientShutdownListener,OOrientStartupListener,OSBTreeCollectionManager
public class OSBTreeCollectionManagerRemote
extends Object
implements OCloseable, OSBTreeCollectionManager, OOrientStartupListener, OOrientShutdownListener
- Author:
- Artem Orobets (enisher-at-gmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidvoidclose()Closes resources inside of call of OStorage#close().createAndLoadTree(OAtomicOperation atomicOperation, int clusterId) protected OSBTreeBonsai<OIdentifiable,Integer> createEdgeTree(OAtomicOperation atomicOperation, int clusterId) createSBTree(int clusterId, OAtomicOperation atomicOperation, UUID ownerUUID) voiddelete(OBonsaiCollectionPointer collectionPointer) listenForChanges(ORidBag collection) loadSBTree(OBonsaiCollectionPointer collectionPointer) protected OSBTreeBonsai<OIdentifiable,Integer> loadTree(OBonsaiCollectionPointer collectionPointer) voidvoidvoidreleaseSBTree(OBonsaiCollectionPointer collectionPointer) voidupdateCollectionPointer(UUID uuid, OBonsaiCollectionPointer pointer)
-
Constructor Details
-
OSBTreeCollectionManagerRemote
public OSBTreeCollectionManagerRemote()
-
-
Method Details
-
onShutdown
public void onShutdown()- Specified by:
onShutdownin interfaceOOrientShutdownListener
-
onStartup
public void onStartup()- Specified by:
onStartupin interfaceOOrientStartupListener
-
createEdgeTree
protected OSBTreeBonsai<OIdentifiable,Integer> createEdgeTree(OAtomicOperation atomicOperation, int clusterId) -
loadTree
-
listenForChanges
- Specified by:
listenForChangesin interfaceOSBTreeCollectionManager
-
updateCollectionPointer
- Specified by:
updateCollectionPointerin interfaceOSBTreeCollectionManager
-
clearPendingCollections
public void clearPendingCollections()- Specified by:
clearPendingCollectionsin interfaceOSBTreeCollectionManager
-
changedIds
- Specified by:
changedIdsin interfaceOSBTreeCollectionManager
-
clearChangedIds
public void clearChangedIds()- Specified by:
clearChangedIdsin interfaceOSBTreeCollectionManager
-
createAndLoadTree
public OSBTreeBonsai<OIdentifiable,Integer> createAndLoadTree(OAtomicOperation atomicOperation, int clusterId) throws IOException - Specified by:
createAndLoadTreein interfaceOSBTreeCollectionManager- Throws:
IOException
-
createSBTree
public OBonsaiCollectionPointer createSBTree(int clusterId, OAtomicOperation atomicOperation, UUID ownerUUID) throws IOException - Specified by:
createSBTreein interfaceOSBTreeCollectionManager- Throws:
IOException
-
loadSBTree
- Specified by:
loadSBTreein interfaceOSBTreeCollectionManager
-
releaseSBTree
- Specified by:
releaseSBTreein interfaceOSBTreeCollectionManager
-
delete
- Specified by:
deletein interfaceOSBTreeCollectionManager
-
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
-
clear
public void clear()
-