com.hazelcast.internal.management
Class ConsoleCommandHandler
java.lang.Object
com.hazelcast.internal.management.ConsoleCommandHandler
public class ConsoleCommandHandler
- extends Object
Handler class for console commands that sent from Console application which located in Management Center.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleCommandHandler
public ConsoleCommandHandler(HazelcastInstance instance)
handleCommand
public String handleCommand(String command)
throws InterruptedException
- Runs a command on the console. Will not run "exit" or "quit".
- Parameters:
command
- The command to run.
- Returns:
- either the command is handled, or a console message is returned if the command is not handled.
- Throws:
java.lang.InterruptedException.
InterruptedException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.