Package org.glassfish.api.admin
Annotation Interface CommandLock
Annotation used to indicate what type of lock to acquire before executing an admin command. By default (witout this
annotation), admin commands acquire a shared lock, allowing multiple admin commands to execute in parallel. Some
commands, such as the synchronization command and the quiesce command require the exclusive lock to prevent any other
admin commands from executing. Admin commands that are "read-only" and don't change any configuration state don't
need any lock.
- Author:
- Bill Shannon
-
Nested Class Summary
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionReturns the type of lock to acquire.
-
Element Details
-
value
CommandLock.LockType valueReturns the type of lock to acquire.- Returns:
- the lock type
-