Package org.elasticsearch.bootstrap
Interface ConsoleCtrlHandler
public interface ConsoleCtrlHandler
-
Field Summary
-
Method Summary
-
Field Details
-
CTRL_CLOSE_EVENT
static final int CTRL_CLOSE_EVENT- See Also:
- Constant Field Values
-
-
Method Details
-
handle
boolean handle(int code)Handles the Ctrl event.- Parameters:
code
- the code corresponding to the Ctrl sent.- Returns:
- true if the handler processed the event, false otherwise. If false, the next handler will be called.
-