Pings a connection cache.
ping connect-args entity
<jag_ping entity=”entity” />
Option  | 
Description  | 
Required  | 
|---|---|---|
connect-args  | 
Arguments to specify a connection to the server. See “Using connected mode”.  | 
Yes  | 
entity  | 
The connection cache identifier in the
form   | 
Yes  | 
Return value  | 
Indicates  | 
|---|---|
0  | 
The command ran successfully; the result is true/success.  | 
1  | 
The command ran successfully; the result is false/failure.  | 
2  | 
The command did not run successfully; an exception was thrown.  | 
This example pings the connection cache named “JavaCache”:
Command line:
jagtool ping ConnCache:JavaCache
Ant build file:
<jag_ping entity="ConnCache:JavaCache" />