public final class SetMessagingClusterPassword extends Object implements OfflineCommand, OnlineCommand
NOOPNOOP| Constructor and Description |
|---|
SetMessagingClusterPassword(String password)
Set cluster password in the default messaging server.
|
SetMessagingClusterPassword(String password,
String serverName)
Set cluster password in the specified messaging server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OfflineCommandContext ctx) |
void |
apply(OnlineCommandContext ctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringtoStringpublic SetMessagingClusterPassword(String password)
password - password to be setpublic void apply(OfflineCommandContext ctx) throws CommandFailedException, IOException
apply in interface OfflineCommandCommandFailedExceptionIOExceptionpublic void apply(OnlineCommandContext ctx) throws Exception
apply in interface OnlineCommandExceptionCopyright © 2022. All rights reserved.