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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class io.clonecloudstore.common.quarkus.modules.ServiceProperties
CCS_ACCESSOR_SITEFields inherited from class io.clonecloudstore.common.quarkus.properties.QuarkusProperties
CCS_CLIENT_RESPONSE_TIMEOUT, CCS_DRIVER_MAX_CHUNK_SIZE, CCS_SERVER_COMPUTE_SHA_256, MODULE_MDCFields 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 Stringstatic intstatic Stringstatic longstatic Stringstatic booleanstatic booleanstatic booleanstatic booleanWarning: enable this will use local storage and could lead to out of space.static voidsetFixOnAbsent(boolean isFixOnAbsent) package-protected methodstatic voidsetRemoteRead(boolean isRemoteRead) package-protected methodstatic voidsetStoreActive(boolean active) static voidsetStorePurgeRetentionSeconds(long retention) Methods inherited from class io.clonecloudstore.common.quarkus.modules.ServiceProperties
getAccessorSiteMethods inherited from class io.clonecloudstore.common.quarkus.properties.QuarkusProperties
clientResponseTimeOut, getCcsModule, getDriverMaxChunkSize, getDurationResponseTimeout, hasDatabase, refreshModuleMdc, serverComputeSha256, setCcsModule, setClientResponseTimeOut, setDriverMaxChunkSize, setHasDatabase, setServerComputeSha256Methods 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
-