public class PriamConfiguration extends java.lang.Object implements IConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PRIAM_PRE |
Constructor and Description |
---|
PriamConfiguration(IConfigSource config,
InstanceInfo instanceInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
doesCassandraStartManually() |
boolean |
enableAsyncIncremental()
Should incremental backup be uploaded in async fashion? If this is false, then incrementals
will be in sync fashion.
|
boolean |
enableAsyncSnapshot()
Should snapshot backup be uploaded in async fashion? If this is false, then snapshot will be
in sync fashion.
|
boolean |
enableRemoteJMX() |
java.lang.String |
getACLGroupName()
Get the security group associated with nodes in this cluster
|
java.lang.String |
getAppName() |
java.lang.String |
getAuthenticator()
Defaults to 'allow all'.
|
java.lang.String |
getAuthorizer()
Defaults to 'allow all'.
|
boolean |
getAutoBoostrap() |
java.lang.String |
getAWSRoleAssumptionArn() |
long |
getBackupChunkSize() |
java.lang.String |
getBackupCommitLogLocation() |
java.lang.String |
getBackupCronExpression()
Cron expression to be used for snapshot backups.
|
int |
getBackupHour() |
java.lang.String |
getBackupLocation()
Eg: 'my_backup' will result in all files stored under this dir/prefix
|
java.lang.String |
getBackupNotificationTopicArn()
SNS Notification topic to be used for sending backup event notifications.
|
java.lang.String |
getBackupPrefix()
Backup location i.e.
|
int |
getBackupQueueSize()
Queue size to be used for backup uploads.
|
java.util.List<java.lang.String> |
getBackupRacs() |
int |
getBackupRetentionDays() |
SchedulerType |
getBackupSchedulerType()
Backup scheduler type to use for backup.
|
java.lang.String |
getBackupStatusFileLoc() |
int |
getBackupThreads() |
java.lang.String |
getBootClusterName() |
java.lang.String |
getCacheLocation() |
java.lang.String |
getCassHome() |
java.lang.String |
getCassProcessName() |
java.lang.String |
getCassStartupScript() |
java.lang.String |
getCassStopScript() |
java.lang.String |
getCassYamlVal(java.lang.String priamKey) |
java.lang.String |
getClassicEC2RoleAssumptionArn() |
java.lang.String |
getCommitLogBackupArchiveCmd() |
java.lang.String |
getCommitLogBackupPropsFile() |
java.lang.String |
getCommitLogBackupRestoreCmd() |
java.lang.String |
getCommitLogBackupRestoreFromDirs() |
java.lang.String |
getCommitLogBackupRestorePointInTime() |
java.lang.String |
getCommitLogLocation() |
java.lang.String |
getCompactionCronExpression()
Cron expression to be used to schedule regular compactions.
|
java.lang.String |
getCompactionExcludeCFList()
Column family(ies), comma delimited, to exclude while starting compaction (user-initiated or
on CRON).
|
java.lang.String |
getCompactionIncludeCFList()
Column Family(ies), comma delimited, to start compactions (user-initiated or on CRON).
|
int |
getCompactionLargePartitionWarnThresholdInMB() |
int |
getCompactionThroughput() |
int |
getConcurrentCompactorsCnt() |
int |
getConcurrentReadsCnt() |
int |
getConcurrentWritesCnt() |
java.lang.String |
getDataFileLocation() |
int |
getDownloadQueueSize()
Queue size to be used for file downloads.
|
long |
getDownloadTimeout()
Downloads are scheduled in
IConfiguration.getDownloadQueueSize() . |
java.lang.String |
getExtraConfigParams() |
java.util.Map<java.lang.String,java.lang.String> |
getExtraEnvParams()
Use this method for adding extra/ dynamic cassandra startup options or env properties
|
java.lang.String |
getFlushCronExpression()
Cron expression to be used for flush.
|
java.lang.String |
getFlushInterval()
Interval to be used for flush.
|
java.lang.String |
getFlushKeyspaces()
List of keyspaces to flush.
|
SchedulerType |
getFlushSchedulerType()
Scheduler type to use for flush.
|
int |
getForgottenFileGracePeriodDays()
Grace period for the file(that should have been deleted by cassandra) that are considered to
be forgotten.
|
java.lang.String |
getGcsServiceAccountId() |
java.lang.String |
getGcsServiceAccountPrivateKeyLoc() |
int |
getGracefulDrainHealthWaitSeconds() |
java.lang.String |
getHeapNewSize() |
java.lang.String |
getHeapSize() |
int |
getHintedHandoffThrottleKb() |
java.lang.String |
getIncrementalExcludeCFList()
Column family(ies), comma delimited, to exclude during incremental backup.
|
java.lang.String |
getIncrementalIncludeCFList()
Column Family(ies), comma delimited, to include during incremental backup.
|
java.lang.String |
getInternodeCompression() |
java.lang.String |
getInternodeEncryption() |
java.lang.String |
getJmxPassword() |
int |
getJmxPort() |
java.lang.String |
getJmxUsername() |
java.lang.String |
getKeyCacheKeysToSave()
Support for limiting the total number of keys in c* 1.1 global key cache.
|
java.lang.String |
getKeyCacheSizeInMB()
Support for c* 1.1 global key cache size
|
java.lang.String |
getLogDirLocation() |
java.lang.String |
getMaxDirectMemory() |
int |
getMaxHintWindowInMS() |
double |
getMemtableCleanupThreshold()
memtable_cleanup_threshold defaults to 1 / (memtable_flush_writers + 1) = 0.11
|
java.lang.String |
getMergedConfigurationCronExpression()
Cron expression to be used for persisting Priam merged configuration to disk.
|
int |
getNativeTransportPort() |
java.lang.String |
getPartitioner()
Get the paritioner for this cassandra cluster/node.
|
java.lang.String |
getPgpPasswordPhrase() |
java.lang.String |
getPgpPublicKeyLoc() |
java.lang.String |
getPostRestoreHook()
Post restore hook to be executed
|
java.lang.String |
getPostRestoreHookDoneFileName()
Done file for post restore hook
|
int |
getPostRestoreHookHeartbeatCheckFrequencyInMs()
Heartbeat check frequency (in ms) for post restore hook
|
java.lang.String |
getPostRestoreHookHeartbeatFileName()
HeartBeat file of post restore hook
|
int |
getPostRestoreHookHeartBeatTimeoutInMs()
Heartbeat timeout (in ms) for post restore hook
|
int |
getPostRestoreHookTimeOutInDays()
Maximum time Priam has to wait for post restore hook sub-process to complete successfully
|
java.lang.String |
getPrivateKeyLocation() |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Escape hatch for getting any arbitrary property by key This is useful so we don't have to
keep adding methods to this interface for every single configuration option ever.
|
java.util.List<java.lang.String> |
getRacs() |
int |
getRemediateDeadCassandraRate() |
java.lang.String |
getRestoreExcludeCFList()
Column family(ies), comma delimited, to exclude during restore.
|
java.lang.String |
getRestoreIncludeCFList()
Column Family(ies), comma delimited, to include during restore.
|
java.lang.String |
getRestorePrefix() |
java.lang.String |
getRestoreSnapshot()
Specifies the start and end time used for restoring data (yyyyMMddHHmm format) Eg:
201201132030,201201142030
|
java.lang.String |
getRestoreSourceType() |
int |
getRestoreThreads() |
java.lang.String |
getRowCacheKeysToSave()
Support for limiting the total number of rows in c* 1.1 global row cache.
|
java.lang.String |
getRowCacheSizeInMB()
Support for c* 1.1 global row cache size
|
int |
getRpcMaxThreads() |
int |
getRpcMinThreads() |
java.lang.String |
getRpcServerType() |
java.lang.String |
getSDBInstanceIdentityRegion() |
java.lang.String |
getSeedProviderName() |
java.lang.String |
getSiblingASGNames()
Amazon specific setting to query Additional/ Sibling ASG Memberships in csv format to
consider while calculating RAC membership
|
java.lang.String |
getSnapshotExcludeCFList()
Column family(ies), comma delimited, to exclude during snapshot backup.
|
java.lang.String |
getSnapshotIncludeCFList()
Column Family(ies), comma delimited, to include during snapshot backup.
|
java.lang.String |
getSnitch() |
int |
getSSLStoragePort() |
int |
getStoragePort() |
int |
getStreamingSocketTimeoutInMS() |
int |
getStreamingThroughputMB() |
int |
getThriftPort() |
int |
getTombstoneFailureThreshold() |
int |
getTombstoneWarnThreshold() |
int |
getUploadThrottle() |
long |
getUploadTimeout()
Uploads are scheduled in
IConfiguration.getBackupQueueSize() . |
java.lang.String |
getVpcEC2RoleAssumptionArn() |
java.lang.String |
getYamlLocation() |
void |
initialize() |
boolean |
isBackingUpCommitLogs()
Enable/disable backup/restore of commit logs.
|
boolean |
isClientSslEnabled() |
boolean |
isCreateNewTokenEnable() |
boolean |
isDualAccount()
Is cassandra cluster spanning more than one account.
|
boolean |
isDynamicSnitchEnabled() |
boolean |
isEncryptBackupEnabled()
Should backups be encrypted.
|
boolean |
isForgottenFileMoveEnabled()
If any forgotten file is found in Cassandra, it is usually good practice to move/delete them
so when cassandra restarts, it does not load old data which should be removed else you may
run into data resurrection issues.
|
boolean |
isIncrementalBackupEnabled() |
boolean |
isLocalBootstrapEnabled() |
boolean |
isMultiDC() |
boolean |
isNativeTransportEnabled() |
boolean |
isPostRestoreHookEnabled()
Post restore hook enabled state.
|
boolean |
isRestoreClosestToken() |
boolean |
isRestoreEncrypted()
Data that needs to be restored is encrypted?
|
boolean |
isThriftEnabled() |
int |
maxCommitLogsRestore() |
boolean |
useSudo() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCassandraBaseDirectory, getMergedConfigurationDirectory, getStructuredConfiguration
public static final java.lang.String PRIAM_PRE
@Inject public PriamConfiguration(IConfigSource config, InstanceInfo instanceInfo)
public void initialize()
initialize
in interface IConfiguration
public java.lang.String getCassStartupScript()
getCassStartupScript
in interface IConfiguration
public java.lang.String getCassStopScript()
getCassStopScript
in interface IConfiguration
public int getGracefulDrainHealthWaitSeconds()
getGracefulDrainHealthWaitSeconds
in interface IConfiguration
public int getRemediateDeadCassandraRate()
getRemediateDeadCassandraRate
in interface IConfiguration
public java.lang.String getCassHome()
getCassHome
in interface IConfiguration
public java.lang.String getBackupLocation()
IConfiguration
getBackupLocation
in interface IConfiguration
public java.lang.String getBackupPrefix()
IConfiguration
getBackupPrefix
in interface IConfiguration
public int getBackupRetentionDays()
getBackupRetentionDays
in interface IConfiguration
public java.util.List<java.lang.String> getBackupRacs()
getBackupRacs
in interface IConfiguration
public java.lang.String getRestorePrefix()
getRestorePrefix
in interface IConfiguration
public java.lang.String getDataFileLocation()
getDataFileLocation
in interface IConfiguration
public java.lang.String getLogDirLocation()
getLogDirLocation
in interface IConfiguration
public java.lang.String getCacheLocation()
getCacheLocation
in interface IConfiguration
public java.lang.String getCommitLogLocation()
getCommitLogLocation
in interface IConfiguration
public java.lang.String getBackupCommitLogLocation()
getBackupCommitLogLocation
in interface IConfiguration
public long getBackupChunkSize()
getBackupChunkSize
in interface IConfiguration
public int getJmxPort()
getJmxPort
in interface IConfiguration
public java.lang.String getJmxUsername()
getJmxUsername
in interface IConfiguration
public java.lang.String getJmxPassword()
getJmxPassword
in interface IConfiguration
public boolean enableRemoteJMX()
enableRemoteJMX
in interface IConfiguration
public int getNativeTransportPort()
getNativeTransportPort
in interface IConfiguration
public int getThriftPort()
getThriftPort
in interface IConfiguration
public int getStoragePort()
getStoragePort
in interface IConfiguration
public int getSSLStoragePort()
getSSLStoragePort
in interface IConfiguration
public java.lang.String getSnitch()
getSnitch
in interface IConfiguration
public java.lang.String getAppName()
getAppName
in interface IConfiguration
public java.util.List<java.lang.String> getRacs()
getRacs
in interface IConfiguration
public java.lang.String getHeapSize()
getHeapSize
in interface IConfiguration
public java.lang.String getHeapNewSize()
getHeapNewSize
in interface IConfiguration
public java.lang.String getMaxDirectMemory()
getMaxDirectMemory
in interface IConfiguration
public int getBackupHour()
getBackupHour
in interface IConfiguration
public java.lang.String getBackupCronExpression()
IConfiguration
getBackupCronExpression
in interface IConfiguration
public SchedulerType getBackupSchedulerType() throws UnsupportedTypeException
IConfiguration
getBackupSchedulerType
in interface IConfiguration
IConfiguration.getBackupHour()
. If value of "CRON" is provided it starts using IConfiguration.getBackupCronExpression()
.UnsupportedTypeException
- if the scheduler type is not CRON/HOUR.public SchedulerType getFlushSchedulerType() throws UnsupportedTypeException
IConfiguration
getFlushSchedulerType
in interface IConfiguration
IConfiguration.getFlushInterval()
. If value of "CRON" is provided it starts using IConfiguration.getFlushCronExpression()
.UnsupportedTypeException
- if the scheduler type is not HOUR/CRON.public java.lang.String getFlushCronExpression()
IConfiguration
getFlushCronExpression
in interface IConfiguration
public java.lang.String getCompactionCronExpression()
IConfiguration
getCompactionCronExpression
in interface IConfiguration
public java.lang.String getCompactionIncludeCFList()
IConfiguration
IConfiguration.getCompactionExcludeCFList()
is applied first to exclude CF/keyspace and then
IConfiguration.getCompactionIncludeCFList()
is applied to include the CF's/keyspaces.getCompactionIncludeCFList
in interface IConfiguration
public java.lang.String getCompactionExcludeCFList()
IConfiguration
IConfiguration.getCompactionExcludeCFList()
is applied first to exclude
CF/keyspace and then IConfiguration.getCompactionIncludeCFList()
is applied to include the
CF's/keyspaces.getCompactionExcludeCFList
in interface IConfiguration
public java.lang.String getSnapshotIncludeCFList()
IConfiguration
IConfiguration.getSnapshotExcludeCFList()
is applied first to exclude CF/keyspace and then IConfiguration.getSnapshotIncludeCFList()
is applied to include the CF's/keyspaces.getSnapshotIncludeCFList
in interface IConfiguration
public java.lang.String getSnapshotExcludeCFList()
IConfiguration
IConfiguration.getSnapshotExcludeCFList()
is applied first to exclude CF/keyspace and then IConfiguration.getSnapshotIncludeCFList()
is applied to include the CF's/keyspaces.getSnapshotExcludeCFList
in interface IConfiguration
public java.lang.String getIncrementalIncludeCFList()
IConfiguration
IConfiguration.getIncrementalExcludeCFList()
is applied first to exclude CF/keyspace and then IConfiguration.getIncrementalIncludeCFList()
is applied to include the CF's/keyspaces.getIncrementalIncludeCFList
in interface IConfiguration
public java.lang.String getIncrementalExcludeCFList()
IConfiguration
IConfiguration.getIncrementalExcludeCFList()
is applied first to exclude CF/keyspace and then IConfiguration.getIncrementalIncludeCFList()
is applied to include the CF's/keyspaces.getIncrementalExcludeCFList
in interface IConfiguration
public java.lang.String getRestoreIncludeCFList()
IConfiguration
IConfiguration.getRestoreExcludeCFList()
is
applied first to exclude CF/keyspace and then IConfiguration.getRestoreIncludeCFList()
is applied
to include the CF's/keyspaces.getRestoreIncludeCFList
in interface IConfiguration
public java.lang.String getRestoreExcludeCFList()
IConfiguration
IConfiguration.getRestoreExcludeCFList()
is applied first to exclude CF/keyspace and then IConfiguration.getRestoreIncludeCFList()
is
applied to include the CF's/keyspaces.getRestoreExcludeCFList
in interface IConfiguration
public java.lang.String getRestoreSnapshot()
IConfiguration
getRestoreSnapshot
in interface IConfiguration
public boolean isRestoreEncrypted()
IConfiguration
isRestoreEncrypted
in interface IConfiguration
IConfiguration.getRestoreSnapshot()
is set to a non-null value.public java.lang.String getSDBInstanceIdentityRegion()
getSDBInstanceIdentityRegion
in interface IConfiguration
public boolean isMultiDC()
isMultiDC
in interface IConfiguration
public int getBackupThreads()
getBackupThreads
in interface IConfiguration
public int getRestoreThreads()
getRestoreThreads
in interface IConfiguration
public boolean isRestoreClosestToken()
isRestoreClosestToken
in interface IConfiguration
public java.lang.String getSiblingASGNames()
IConfiguration
getSiblingASGNames
in interface IConfiguration
public java.lang.String getACLGroupName()
IConfiguration
getACLGroupName
in interface IConfiguration
public boolean isIncrementalBackupEnabled()
isIncrementalBackupEnabled
in interface IConfiguration
public int getUploadThrottle()
getUploadThrottle
in interface IConfiguration
public boolean isLocalBootstrapEnabled()
isLocalBootstrapEnabled
in interface IConfiguration
public int getCompactionThroughput()
getCompactionThroughput
in interface IConfiguration
public int getMaxHintWindowInMS()
getMaxHintWindowInMS
in interface IConfiguration
public int getHintedHandoffThrottleKb()
getHintedHandoffThrottleKb
in interface IConfiguration
public java.lang.String getBootClusterName()
getBootClusterName
in interface IConfiguration
public java.lang.String getSeedProviderName()
getSeedProviderName
in interface IConfiguration
public double getMemtableCleanupThreshold()
IConfiguration
getMemtableCleanupThreshold
in interface IConfiguration
public int getStreamingThroughputMB()
getStreamingThroughputMB
in interface IConfiguration
public java.lang.String getPartitioner()
IConfiguration
getPartitioner
in interface IConfiguration
public java.lang.String getKeyCacheSizeInMB()
IConfiguration
getKeyCacheSizeInMB
in interface IConfiguration
public java.lang.String getKeyCacheKeysToSave()
IConfiguration
getKeyCacheKeysToSave
in interface IConfiguration
public java.lang.String getRowCacheSizeInMB()
IConfiguration
getRowCacheSizeInMB
in interface IConfiguration
public java.lang.String getRowCacheKeysToSave()
IConfiguration
getRowCacheKeysToSave
in interface IConfiguration
public java.lang.String getCassProcessName()
getCassProcessName
in interface IConfiguration
public java.lang.String getYamlLocation()
getYamlLocation
in interface IConfiguration
public java.lang.String getAuthenticator()
IConfiguration
getAuthenticator
in interface IConfiguration
public java.lang.String getAuthorizer()
IConfiguration
getAuthorizer
in interface IConfiguration
public boolean doesCassandraStartManually()
doesCassandraStartManually
in interface IConfiguration
public java.lang.String getInternodeCompression()
getInternodeCompression
in interface IConfiguration
public boolean isBackingUpCommitLogs()
IConfiguration
isBackingUpCommitLogs
in interface IConfiguration
public java.lang.String getCommitLogBackupPropsFile()
getCommitLogBackupPropsFile
in interface IConfiguration
public java.lang.String getCommitLogBackupArchiveCmd()
getCommitLogBackupArchiveCmd
in interface IConfiguration
public java.lang.String getCommitLogBackupRestoreCmd()
getCommitLogBackupRestoreCmd
in interface IConfiguration
public java.lang.String getCommitLogBackupRestoreFromDirs()
getCommitLogBackupRestoreFromDirs
in interface IConfiguration
public java.lang.String getCommitLogBackupRestorePointInTime()
getCommitLogBackupRestorePointInTime
in interface IConfiguration
public int maxCommitLogsRestore()
maxCommitLogsRestore
in interface IConfiguration
public boolean isClientSslEnabled()
isClientSslEnabled
in interface IConfiguration
public java.lang.String getInternodeEncryption()
getInternodeEncryption
in interface IConfiguration
public boolean isDynamicSnitchEnabled()
isDynamicSnitchEnabled
in interface IConfiguration
public boolean isThriftEnabled()
isThriftEnabled
in interface IConfiguration
public boolean isNativeTransportEnabled()
isNativeTransportEnabled
in interface IConfiguration
public int getConcurrentReadsCnt()
getConcurrentReadsCnt
in interface IConfiguration
public int getConcurrentWritesCnt()
getConcurrentWritesCnt
in interface IConfiguration
public int getConcurrentCompactorsCnt()
getConcurrentCompactorsCnt
in interface IConfiguration
public java.lang.String getRpcServerType()
getRpcServerType
in interface IConfiguration
public int getRpcMinThreads()
getRpcMinThreads
in interface IConfiguration
public int getRpcMaxThreads()
getRpcMaxThreads
in interface IConfiguration
public int getCompactionLargePartitionWarnThresholdInMB()
getCompactionLargePartitionWarnThresholdInMB
in interface IConfiguration
public java.lang.String getExtraConfigParams()
getExtraConfigParams
in interface IConfiguration
public java.util.Map<java.lang.String,java.lang.String> getExtraEnvParams()
IConfiguration
getExtraEnvParams
in interface IConfiguration
public java.lang.String getCassYamlVal(java.lang.String priamKey)
getCassYamlVal
in interface IConfiguration
public boolean getAutoBoostrap()
getAutoBoostrap
in interface IConfiguration
public boolean isCreateNewTokenEnable()
isCreateNewTokenEnable
in interface IConfiguration
public java.lang.String getPrivateKeyLocation()
getPrivateKeyLocation
in interface IConfiguration
public java.lang.String getRestoreSourceType()
getRestoreSourceType
in interface IConfiguration
AWSCROSSACCT - You are restoring from an AWS account which requires cross account assumption where an IAM user in one account is allowed to access resources that belong to a different account.
GOOGLE - You are restoring from Google Cloud Storage
public boolean isEncryptBackupEnabled()
IConfiguration
isEncryptBackupEnabled
in interface IConfiguration
public java.lang.String getAWSRoleAssumptionArn()
getAWSRoleAssumptionArn
in interface IConfiguration
public java.lang.String getClassicEC2RoleAssumptionArn()
getClassicEC2RoleAssumptionArn
in interface IConfiguration
public java.lang.String getVpcEC2RoleAssumptionArn()
getVpcEC2RoleAssumptionArn
in interface IConfiguration
public boolean isDualAccount()
IConfiguration
isDualAccount
in interface IConfiguration
public java.lang.String getGcsServiceAccountId()
getGcsServiceAccountId
in interface IConfiguration
public java.lang.String getGcsServiceAccountPrivateKeyLoc()
getGcsServiceAccountPrivateKeyLoc
in interface IConfiguration
public java.lang.String getPgpPasswordPhrase()
getPgpPasswordPhrase
in interface IConfiguration
public java.lang.String getPgpPublicKeyLoc()
getPgpPublicKeyLoc
in interface IConfiguration
public boolean enableAsyncIncremental()
IConfiguration
enableAsyncIncremental
in interface IConfiguration
public boolean enableAsyncSnapshot()
IConfiguration
enableAsyncSnapshot
in interface IConfiguration
public int getBackupQueueSize()
IConfiguration
IConfiguration.getUploadTimeout()
to add any new item before declining the request and throwing
exception.getBackupQueueSize
in interface IConfiguration
public int getDownloadQueueSize()
IConfiguration
IConfiguration.getDownloadTimeout()
to add any new item before declining the request and throwing
exception.getDownloadQueueSize
in interface IConfiguration
public long getUploadTimeout()
IConfiguration
IConfiguration.getBackupQueueSize()
. If queue is full then we wait for
IConfiguration.getUploadTimeout()
for the queue to have an entry available for queueing the current
task after which we throw RejectedExecutionException.getUploadTimeout
in interface IConfiguration
public long getDownloadTimeout()
IConfiguration
IConfiguration.getDownloadQueueSize()
. If queue is full then we wait for
IConfiguration.getDownloadTimeout()
for the queue to have an entry available for queueing the
current task after which we throw RejectedExecutionException.getDownloadTimeout
in interface IConfiguration
public int getTombstoneWarnThreshold()
getTombstoneWarnThreshold
in interface IConfiguration
public int getTombstoneFailureThreshold()
getTombstoneFailureThreshold
in interface IConfiguration
public int getStreamingSocketTimeoutInMS()
getStreamingSocketTimeoutInMS
in interface IConfiguration
public java.lang.String getFlushKeyspaces()
IConfiguration
getFlushKeyspaces
in interface IConfiguration
public java.lang.String getFlushInterval()
IConfiguration
getFlushInterval
in interface IConfiguration
public java.lang.String getBackupStatusFileLoc()
getBackupStatusFileLoc
in interface IConfiguration
public boolean useSudo()
useSudo
in interface IConfiguration
public java.lang.String getBackupNotificationTopicArn()
IConfiguration
getBackupNotificationTopicArn
in interface IConfiguration
public boolean isPostRestoreHookEnabled()
IConfiguration
isPostRestoreHookEnabled
in interface IConfiguration
public java.lang.String getPostRestoreHook()
IConfiguration
getPostRestoreHook
in interface IConfiguration
public java.lang.String getPostRestoreHookHeartbeatFileName()
IConfiguration
getPostRestoreHookHeartbeatFileName
in interface IConfiguration
public java.lang.String getPostRestoreHookDoneFileName()
IConfiguration
getPostRestoreHookDoneFileName
in interface IConfiguration
public int getPostRestoreHookTimeOutInDays()
IConfiguration
getPostRestoreHookTimeOutInDays
in interface IConfiguration
public int getPostRestoreHookHeartBeatTimeoutInMs()
IConfiguration
getPostRestoreHookHeartBeatTimeoutInMs
in interface IConfiguration
public int getPostRestoreHookHeartbeatCheckFrequencyInMs()
IConfiguration
getPostRestoreHookHeartbeatCheckFrequencyInMs
in interface IConfiguration
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
IConfiguration
getProperty
in interface IConfiguration
key
- The arbitrary configuration property to look updefaultValue
- The default value to return if the key is not found.public java.lang.String getMergedConfigurationCronExpression()
IConfiguration
IConfiguration.getMergedConfigurationDirectory()
as two JSON files: structured.json and
unstructured.json which persist structured config and unstructured config respectively. We
recommend you only rely on unstructured for the time being until the structured interface is
finalized.
Default: every minute
getMergedConfigurationCronExpression
in interface IConfiguration
public int getForgottenFileGracePeriodDays()
IConfiguration
getForgottenFileGracePeriodDays
in interface IConfiguration
public boolean isForgottenFileMoveEnabled()
IConfiguration
isForgottenFileMoveEnabled
in interface IConfiguration