Class OtpCacheOperation
java.lang.Object
es.kukenan.smartfi.microservice.security.gateway.cache.OtpCacheOperation
Otp cache operations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheOperations(List<SessionCacheOperationEnum> operations, String processId, Object obj) Cache operations.getAll()getting all Otp Cache objects.getAllInformationByProcessId(String processId) getting all Otp Cache object.
-
Field Details
-
otpSession
map uuid-session cache established. -
timeToLive
ttl time-to-live established. -
hazelcastInstance
@Autowired private com.hazelcast.core.HazelcastInstance hazelcastInstanceHazelcastInstance hazelcastInstance.
-
-
Constructor Details
-
OtpCacheOperation
public OtpCacheOperation()
-
-
Method Details
-
cacheOperations
public void cacheOperations(List<SessionCacheOperationEnum> operations, String processId, Object obj) Cache operations.- Parameters:
operations- to be executedprocessId- key of the registryobj- to be saved
-
getAllInformationByProcessId
getting all Otp Cache object.- Parameters:
processId- key of the registry- Returns:
- otpCache object
-
getAll
getting all Otp Cache objects.- Returns:
- arrayListOtp list
-