public interface ArcacheConfigurationSetInterface
| Modifier and Type | Method and Description |
|---|---|
void |
setBackendClient(ArcacheBackendClient backendClient) |
void |
setDefaultExpirationTime(long expirationTimeSecs)
Sets the default value to be used to consider a cached object expired
|
void |
setDefaultHardInvalidation(boolean hardInvalidation) |
void |
setDefaultInvalidationWindow(long windowSecs)
set the default invalidation window, this is the ammount of time to do
probabilistic invalidation.
|
void |
setDefaultOperationTimeout(long timeoutMillis) |
void |
setDefaultStoredObjectRemovalTime(long removeTimeSecs)
Sets the default value to be used to set the lifetime of the object at
backend level.
|
void |
setKeyDelimiter(String keyDelimiter)
Permite configurar un delimitador default para las keys el mismo sera
utilizado par separar las keys de invalidacion y el namespace
|
void |
setKeyNamespace(String namespace)
Permite configurar un namsepace default para todas las keys De esta forma se
puede evitar la colision de keys con otro servicio
|
void |
setTimeMeasurementError(long errorSecs)
Error total en la medicion de tiempos expresado en segundos debe ser 1 +
maxClockOffset + maxKeyCreationTime maxClockOffset (diferencia maxima entre 2
relojes de la infraestructura involucrada) maxKeyCreationTime (Tiempo (95pt)
que demanda generar un valor a ser almacenado)
|
void setDefaultOperationTimeout(long timeoutMillis)
timeoutMillis - timeoutMillis the default timeout to be used in backend
operationsvoid setTimeMeasurementError(long errorSecs)
errorSecs - the time measurament error in secondsvoid setDefaultInvalidationWindow(long windowSecs)
windowSecs - invalidation window in secondsvoid setDefaultHardInvalidation(boolean hardInvalidation)
hardInvalidation - default type of invalidation to be usedvoid setKeyNamespace(String namespace)
namespace - ...void setKeyDelimiter(String keyDelimiter)
keyDelimiter - ...void setDefaultExpirationTime(long expirationTimeSecs)
expirationTimeSecs - ...void setDefaultStoredObjectRemovalTime(long removeTimeSecs)
removeTimeSecs - ...void setBackendClient(ArcacheBackendClient backendClient)
Copyright © 2019. All rights reserved.