public class PdsFolderSettings extends Object
| Constructor and Description |
|---|
PdsFolderSettings(@Nullable File persistentStoreRootPath,
@NotNull Serializable consistentId)
Creates settings for compatible mode.
|
PdsFolderSettings(@Nullable 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 |
persistentStoreNodePath() |
@Nullable File |
persistentStoreRootPath() |
String |
toString() |
public PdsFolderSettings(@Nullable
@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
@Nullable File persistentStoreRootPath,
@NotNull
@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 @Nullable File persistentStoreRootPath()
public File persistentStoreNodePath()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021