public class OSBTreeCollectionManagerShared extends OSBTreeCollectionManagerAbstract implements OOrientStartupListener, OOrientShutdownListener
OSBTreeCollectionManagerAbstract.CacheKey, OSBTreeCollectionManagerAbstract.SBTreeBonsaiContainer
DEFAULT_EXTENSION, FILE_NAME_PREFIX, treeCache
Constructor and Description |
---|
OSBTreeCollectionManagerShared(OAbstractPaginatedStorage storage) |
clear, close, delete, generateLockName, onShutdown, onStartup, releaseSBTree, treesSubsetLock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onStartup
onShutdown
public OSBTreeCollectionManagerShared(OAbstractPaginatedStorage storage)
public void prohibitAccess()
public OSBTreeBonsai<OIdentifiable,Integer> createAndLoadTree(OAtomicOperation atomicOperation, int clusterId) throws IOException
createAndLoadTree
in interface OSBTreeCollectionManager
createAndLoadTree
in class OSBTreeCollectionManagerAbstract
IOException
public OSBTreeBonsai<OIdentifiable,Integer> loadSBTree(OBonsaiCollectionPointer collectionPointer)
loadSBTree
in interface OSBTreeCollectionManager
loadSBTree
in class OSBTreeCollectionManagerAbstract
public OBonsaiCollectionPointer createSBTree(OAtomicOperation atomicOperation, int clusterId, UUID ownerUUID) throws IOException
createSBTree
in interface OSBTreeCollectionManager
createSBTree
in class OSBTreeCollectionManagerAbstract
IOException
protected OSBTreeBonsaiLocal<OIdentifiable,Integer> createTree(OAtomicOperation atomicOperation, int clusterId) throws IOException
createTree
in class OSBTreeCollectionManagerAbstract
IOException
protected OSBTreeBonsai<OIdentifiable,Integer> loadTree(OBonsaiCollectionPointer collectionPointer)
loadTree
in class OSBTreeCollectionManagerAbstract
public UUID listenForChanges(ORidBag collection)
listenForChanges
in interface OSBTreeCollectionManager
public void updateCollectionPointer(UUID uuid, OBonsaiCollectionPointer pointer)
updateCollectionPointer
in interface OSBTreeCollectionManager
public void clearPendingCollections()
clearPendingCollections
in interface OSBTreeCollectionManager
public Map<UUID,OBonsaiCollectionPointer> changedIds()
changedIds
in interface OSBTreeCollectionManager
public void clearChangedIds()
clearChangedIds
in interface OSBTreeCollectionManager
public boolean tryDelete(OAtomicOperation atomicOperation, OBonsaiCollectionPointer collectionPointer, long delay)
Copyright © 2009–2020 OrientDB. All rights reserved.