Class AerospikeCacheKey
java.lang.Object
org.springframework.data.aerospike.cache.AerospikeCacheKey
Wrapper class used in caching. Receives hash of the cache key as a String, a long number or a byte array.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AerospikeCacheKeyof(byte[] data) Instantiate AerospikeCacheKey instance with a byte array.static AerospikeCacheKeyof(long number) Instantiate AerospikeCacheKey instance with a long number.static AerospikeCacheKeyInstantiate AerospikeCacheKey instance with a String.
-
Method Details
-
of
Instantiate AerospikeCacheKey instance with a String.- Parameters:
string- String parameter- Returns:
- new instance of AerospikeCacheKey initialized with the given parameter
-
of
Instantiate AerospikeCacheKey instance with a long number.- Parameters:
number- long number- Returns:
- new instance of AerospikeCacheKey initialized with the given parameter
-
of
Instantiate AerospikeCacheKey instance with a byte array.- Parameters:
data- byte array- Returns:
- new instance of AerospikeCacheKey initialized with the given parameter
-