ping

Description

Pings a connection cache.

Syntax

Local mode support: No.

Command line:

ping connect-args entity

Ant build file:

<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 ConnCache:EntityName.

Yes

Returns

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.

Examples

Example 1

This example pings the connection cache named “JavaCache”: