public class CacheManager
extends java.lang.Object
Constructor and Description |
---|
CacheManager() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Contains(java.lang.String strKey)
The Contains Method checks the Presence of the specified Key
|
static java.lang.String |
Get(java.lang.String strKey)
The Get Method retrieves the Value given the Key
|
static boolean |
Init()
Initialize the Cache Manager
|
static java.lang.String |
Put(java.lang.String strKey,
java.lang.String strValue,
long lSecondsToExpiry)
The Put Method adds a Key/Value Pair to the In-Memory KV Store
|
public static final boolean Init()
public static final java.lang.String Put(java.lang.String strKey, java.lang.String strValue, long lSecondsToExpiry)
strKey
- The KeystrValue
- The ValuelSecondsToExpiry
- The Time to Expiry of the Key/Value Pairpublic static final boolean Contains(java.lang.String strKey)
strKey
- The Keypublic static final java.lang.String Get(java.lang.String strKey)
strKey
- The Key