Class SimulateTransferCacheOperation
java.lang.Object
es.kukenan.smartfi.microservice.transfer.cache.SimulateTransferCacheOperation
Operation over cache.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFromCache(String iban) get Bic from Cache.voidinsertIntoCache(String iban, String bicBeneficiary) Insert associated bic into caché.
-
Field Details
-
simulateName
map cache.contract cache established. -
timeToLive
time-to-live established. -
hazelcastInstance
@Autowired @Qualifier("hazelcastInstance") private com.hazelcast.core.HazelcastInstance hazelcastInstanceHazelcastInstance hazelcastInstance.
-
-
Constructor Details
-
SimulateTransferCacheOperation
public SimulateTransferCacheOperation()
-
-
Method Details
-
insertIntoCache
Insert associated bic into caché.- Parameters:
iban- account iban.bicBeneficiary- bic beneficiary.
-
getFromCache
get Bic from Cache.- Parameters:
iban- account iban.- Returns:
- bicBeneficiary.
- Throws:
Exception- Error occurs during process.
-