Class AccessorProperties
java.lang.Object
io.clonecloudstore.common.standard.properties.StandardProperties
io.clonecloudstore.common.quarkus.properties.QuarkusProperties
io.clonecloudstore.common.quarkus.modules.ServiceProperties
io.clonecloudstore.common.quarkus.modules.AccessorProperties
- Direct Known Subclasses:
ReconciliatorProperties
Accessor Configurable Values
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class io.clonecloudstore.common.quarkus.modules.ServiceProperties
CCS_ACCESSOR_SITE
Fields inherited from class io.clonecloudstore.common.quarkus.properties.QuarkusProperties
CCS_CLIENT_RESPONSE_TIMEOUT, CCS_DRIVER_MAX_CHUNK_SIZE, CCS_SERVER_COMPUTE_SHA_256, MODULE_MDC
Fields inherited from class io.clonecloudstore.common.standard.properties.StandardProperties
CCS_BUFFER_SIZE, CCS_MACHINE_ID, CCS_MAX_WAIT_MS, DEFAULT_PIPED_BUFFER_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static int
static String
static long
static String
static boolean
static boolean
static boolean
static boolean
Warning: enable this will use local storage and could lead to out of space.static void
setFixOnAbsent
(boolean isFixOnAbsent) package-protected methodstatic void
setRemoteRead
(boolean isRemoteRead) package-protected methodstatic void
setStoreActive
(boolean active) static void
setStorePurgeRetentionSeconds
(long retention) Methods inherited from class io.clonecloudstore.common.quarkus.modules.ServiceProperties
getAccessorSite
Methods inherited from class io.clonecloudstore.common.quarkus.properties.QuarkusProperties
clientResponseTimeOut, getCcsModule, getDriverMaxChunkSize, getDurationResponseTimeout, hasDatabase, refreshModuleMdc, serverComputeSha256, setCcsModule, setClientResponseTimeOut, setDriverMaxChunkSize, setHasDatabase, setServerComputeSha256
Methods inherited from class io.clonecloudstore.common.standard.properties.StandardProperties
getBufSize, getCcsMachineId, getMaxWaitMs, getObjectMapper, getVertx, setBufSize, setCdiObjectMapper, setCdiVertx, setMaxWaitMs
-
Field Details
-
CCS_ACCESSOR_REMOTE_READ
- See Also:
-
CCS_ACCESSOR_REMOTE_FIX_ON_ABSENT
- See Also:
-
CCS_INTERNAL_COMPRESSION
- See Also:
-
CCS_ACCESSOR_STORE_PATH
- See Also:
-
CCS_ACCESSOR_STORE_ACTIVE
- See Also:
-
CCS_ACCESSOR_STORE_MIN_SPACE_GB
- See Also:
-
CCS_ACCESSOR_STORE_PURGE_RETENTION_SECONDS
- See Also:
-
CCS_ACCESSOR_STORE_SCHEDULE_DELAY
- See Also:
-
-
Constructor Details
-
AccessorProperties
protected AccessorProperties()
-
-
Method Details
-
isRemoteRead
public static boolean isRemoteRead()- Returns:
- True if the remote read/check is active
-
setRemoteRead
public static void setRemoteRead(boolean isRemoteRead) package-protected method- Parameters:
isRemoteRead
- new remote read status
-
isFixOnAbsent
public static boolean isFixOnAbsent()- Returns:
- True if the remote content is used to fix missing local data
-
setFixOnAbsent
public static void setFixOnAbsent(boolean isFixOnAbsent) package-protected method- Parameters:
isFixOnAbsent
- new remote content used if local is missing data
-
isInternalCompression
public static boolean isInternalCompression()- Returns:
- True if the internal compression is active
-
isStoreActive
public static boolean isStoreActive()Warning: enable this will use local storage and could lead to out of space. The intention is to allow to be more flexible regarding Driver temporary issues.- Returns:
- True if the local storage is to be uses (default false)
-
setStoreActive
public static void setStoreActive(boolean active) -
getStorePath
- Returns:
- the path to use for local store (default being java.io.tmpdir extended with "/CCS" such as "/tmp/CCS")
-
getStoreMinSpaceGb
public static int getStoreMinSpaceGb()- Returns:
- the minimum space that must be available on local storage before trying to save the content
-
getStorePurgeRetentionSeconds
public static long getStorePurgeRetentionSeconds()- Returns:
- the delay in seconds before an upload is considered out of time and to be purged
-
setStorePurgeRetentionSeconds
public static void setStorePurgeRetentionSeconds(long retention) -
getStoreScheduleDelay
- Returns:
- the delay in duration format between each schedule
-
confugrationToString
-