Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
lists all of the persistent timers owned by server instance(s)
list-timers [--help] [target]
The list-timers
subcommand lists the persistent timers owned by a specific server instance or a cluster of server instances. This command is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
The target is either a standalone server instance or a cluster. If the target is the stand-alone instance, then the number of timers owned by the instance is listed. If the target is a cluster, then the number of timers owned by each instance in the cluster is listed. The default target is server
, the default server instance.
This example lists persistent timers in a particular standalone server instance. There is one currently active timer set.
asadmin> list-timers server
1
The list-timers command was executed successfully.
command executed successfully
error in executing the command
"Using the Timer Service" in The Java EE 6 Tutorial
"EJB Timer Service" in Oracle GlassFish Server Application Development Guide