public class PersistenceSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PersistenceSettings.Builder
An builder for
PersistenceSettings objects. |
| Modifier and Type | Method and Description |
|---|---|
static PersistenceSettings.Builder |
builder(String cacheFileName,
Path cacheDirectoryPath)
Constructs an instance of builder associated with provided cache file.
|
Path |
getCacheDirectoryPath() |
String |
getCacheFileName() |
String |
getKeychainAccount() |
String |
getKeychainService() |
String |
getKeyringAttribute1Key() |
String |
getKeyringAttribute1Value() |
String |
getKeyringAttribute2Key() |
String |
getKeyringAttribute2Value() |
String |
getKeyringCollection() |
String |
getKeyringSchemaName() |
String |
getKeyringSecretLabel() |
int |
getLockRetryDelayMilliseconds() |
int |
getLockRetryNumber() |
boolean |
isOnLinuxUseUnprotectedFileAsCacheStorage() |
public String getCacheFileName()
public Path getCacheDirectoryPath()
public String getKeychainService()
public String getKeychainAccount()
public String getKeyringCollection()
public String getKeyringSchemaName()
public String getKeyringSecretLabel()
public String getKeyringAttribute1Key()
public String getKeyringAttribute1Value()
public String getKeyringAttribute2Key()
public String getKeyringAttribute2Value()
public boolean isOnLinuxUseUnprotectedFileAsCacheStorage()
public int getLockRetryDelayMilliseconds()
public int getLockRetryNumber()
public static PersistenceSettings.Builder builder(String cacheFileName, Path cacheDirectoryPath)
cacheFileName - The name of the cache file to use when reading/writing storage.cacheDirectoryPath - The path of the directory containing the cache file.Copyright © 2024. All rights reserved.