Class CacheConstants
java.lang.Object
es.kukenan.smartfi.microservice.transfer.cache.CacheConstants
Class key definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBackoffice id.static final Stringlimits cache name key.static final Stringorigin cache name key.static final Stringcache Resolver.static final StringCondition list not empty result cache key.static final StringCondition result cache key.static final StringTransfer frequency types cache name key.static final StringTransfer modes cache name key.static final Stringsession id.static final Stringcache Resolver. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetKeyCacheByBackoffice(String key, Integer backofficeId) Adding backofficeId and deleting symbols cache key.static StringgetKeyCacheBySessionId(String key, String sessionId) Adding userId and deleting symbols cache key.
-
Field Details
-
SESSION_ID
session id.- See Also:
-
BACKOFFICE_ID
Backoffice id.- See Also:
-
CACHE_RESOLVER
cache Resolver.- See Also:
-
SPRING_CACHE_RESOLVER
cache Resolver.- See Also:
-
CACHE_ORIGIN_KEY
origin cache name key.- See Also:
-
CACHE_LIMITS_KEY
limits cache name key.- See Also:
-
CACHE_TRANSFER_FREQUENCY_TYPES_KEY
Transfer frequency types cache name key.- See Also:
-
CACHE_TRANSFER_MODES_KEY
Transfer modes cache name key.- See Also:
-
CACHE_RESULT_LIST_EMPTY
Condition list not empty result cache key.- See Also:
-
CACHE_RESULT_NULL
Condition result cache key.- See Also:
-
-
Constructor Details
-
CacheConstants
public CacheConstants()
-
-
Method Details
-
getKeyCacheBySessionId
Adding userId and deleting symbols cache key.- Parameters:
key- key value.sessionId- userId value.- Returns:
- the user identifier.
-
getKeyCacheByBackoffice
Adding backofficeId and deleting symbols cache key.- Parameters:
key- key value.backofficeId- userId value.- Returns:
- the backoffice identifier.
-