Class AbstractNodeAllocationStrategy
- java.lang.Object
-
- org.apache.iotdb.db.wal.allocation.AbstractNodeAllocationStrategy
-
- All Implemented Interfaces:
NodeAllocationStrategy
- Direct Known Subclasses:
FirstCreateStrategy,RoundRobinStrategy
public abstract class AbstractNodeAllocationStrategy extends java.lang.Object implements NodeAllocationStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected FolderManagerfolderManagermanage wal folders
-
Constructor Summary
Constructors Constructor Description AbstractNodeAllocationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IWALNodecreateWALNode(java.lang.String identifier)protected IWALNodecreateWALNode(java.lang.String identifier, java.lang.String folder)protected IWALNodecreateWALNode(java.lang.String identifier, java.lang.String folder, long startFileVersion, long startSearchIndex)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.db.wal.allocation.NodeAllocationStrategy
applyForWALNode, clear, getNodesSnapshot
-
-
-
-
Field Detail
-
folderManager
protected FolderManager folderManager
manage wal folders
-
-
Method Detail
-
createWALNode
protected IWALNode createWALNode(java.lang.String identifier)
-
createWALNode
protected IWALNode createWALNode(java.lang.String identifier, java.lang.String folder)
-
createWALNode
protected IWALNode createWALNode(java.lang.String identifier, java.lang.String folder, long startFileVersion, long startSearchIndex)
-
-