public class PdsFolderSettings extends Object
| Constructor and Description |
|---|
PdsFolderSettings(File persistentStoreRootPath,
Serializable consistentId)
Creates settings for compatible mode.
|
PdsFolderSettings(File persistentStoreRootPath,
String folderName,
Serializable consistentId,
GridCacheDatabaseSharedManager.FileLockHolder fileLockHolder,
boolean compatible)
Creates settings in for new PST(DB) folder mode.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
consistentId() |
String |
folderName() |
GridCacheDatabaseSharedManager.FileLockHolder |
getLockedFileLockHolder()
Returns already locked file lock holder to lock file in
persistentStoreRootPath. |
boolean |
isCompatible() |
File |
persistentStoreRootPath() |
public PdsFolderSettings(@Nullable
File persistentStoreRootPath,
String folderName,
Serializable consistentId,
@Nullable
GridCacheDatabaseSharedManager.FileLockHolder fileLockHolder,
boolean compatible)
persistentStoreRootPath - Persistent store root path or null if non PDS mode.folderName - Sub folder name containing consistent ID and optionally node index.consistentId - Consistent id.fileLockHolder - File lock holder with prelocked db directory.compatible - Compatible mode flag.public PdsFolderSettings(@Nullable
File persistentStoreRootPath,
@NotNull
Serializable consistentId)
persistentStoreRootPath - root DB path.consistentId - node consistent ID.public String folderName()
public Serializable consistentId()
public boolean isCompatible()
@Nullable public GridCacheDatabaseSharedManager.FileLockHolder getLockedFileLockHolder()
persistentStoreRootPath. Unlock and close this
lock is not required.@Nullable public File persistentStoreRootPath()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018