- <init>
Setup the environment.
- hasNodeFile
- nodeDataPaths
Returns an array of all of the nodes data locations.
- shardLock
Tries to lock the given shards ID. A shard lock is required to perform any kind
of write operation o
- acquireFSLockForPaths
Acquires, then releases, all write.lock files in the given shard paths. The
"write.lock" file is ass
- assertEnvIsLocked
- availableShardPaths
Returns all shard paths excluding custom shard path. Note: Shards are only
allocated on one of the r
- deleteIndexDirectorySafe
Deletes an indexes data directory recursively iff all of the indexes shards
locks were successfully
- deleteIndexDirectoryUnderLock
Deletes an indexes data directory recursively. Note: this method assumes that
the shard lock is acqu
- deleteShardDirectorySafe
Deletes a shard data directory iff the shards locks were successfully acquired.
- deleteShardDirectoryUnderLock
Deletes a shard data directory. Note: this method assumes that the shard lock is
acquired. This meth
- ensureAtomicMoveSupported
This method tries to write an empty file and moves it using an atomic move
operation. This method th