@Component public class ExitRequestResultHandler extends Object implements ResultHandler<ExitRequest>
ExitRequest
exceptions and gracefully exits the running process.Constructor and Description |
---|
ExitRequestResultHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleResult(ExitRequest result)
Deal with some method execution result, whether it was the normal return value, or some kind
of
Throwable . |
public void handleResult(ExitRequest result)
ResultHandler
Throwable
.handleResult
in interface ResultHandler<ExitRequest>
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.