public class MCache
extends java.lang.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.
|
java.lang.Object |
getItem(java.lang.String id)
Fetched the cached value with id "id".
|
void |
putItem(java.lang.String id,
java.lang.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 java.lang.Object getItem(java.lang.String id)
public void putItem(java.lang.String id,
java.lang.Object obj)
public void setUpRegion()
public void closeCache()
public static void cycleTask()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.