public class MCache extends Object
| Constructor and Description |
|---|
MCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeCache()
Closes the cache.
|
static void |
cycleTask()
Task to , create a cache, put something in the cache, and bounce the VM.
|
Object |
getItem(String id)
Fetched the cached value with id "id".
|
void |
putItem(String id,
Object obj)
Puts the item known as id into the cache.
|
void |
setUpRegion()
Creates cache regions (maps, basically) with the correct
attributes for the job at hand.
|
public Object getItem(String id)
public void putItem(String id, Object obj)
public void setUpRegion()
public void closeCache()
public static void cycleTask()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.