|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwan.WANClient
public class WANClient
Class WANClient is a WAN client application. If invoked with the 'us'
argument, it writes entries to a region that participates in a WAN. If invoked with
the 'eu' argument, it listens for updates to a region that participates in a WAN.
| Field Summary | |
|---|---|
protected Cache |
_cache
The GemFire Cache |
protected Region |
_region
The GemFire Region |
| Constructor Summary | |
|---|---|
WANClient()
|
|
| Method Summary | |
|---|---|
protected void |
doPuts()
Executes the WANClient multi-threaded putter. |
protected void |
initializeCache()
Initializes the GemFire Cache. |
protected void |
initializeRegion(String regionName)
Initializes the GemFire Region. |
static void |
main(String[] args)
Parses the command line and executes the WANClient example. |
protected void |
registerInterest()
Registers interest in the region entries. |
protected static void |
usage()
Prints usage information about this program |
protected void |
waitForever()
Waits forever. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Cache _cache
Cache
protected Region _region
Region
| Constructor Detail |
|---|
public WANClient()
| Method Detail |
|---|
public static void main(String[] args)
throws Exception
WANClient example.
args - The arguments to parse
Exception
protected void initializeCache()
throws CacheException
Cache.
CacheExceptionprotected void initializeRegion(String regionName)
Region.
regionName - The name of the Region to initializeprotected void doPuts()
WANClient multi-threaded putter.
protected void registerInterest()
throws CacheException
CacheException
protected void waitForever()
throws InterruptedException
InterruptedExceptionprotected static void usage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||