Package io.hekate.coordinate
Interface CoordinationProcess
-
public interface CoordinationProcess
Provided information about the coordination process.- See Also:
CoordinationService.process(String)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoordinationFuture
future()
Returns the initial coordination future of this process.CoordinationHandler
handler()
Returns the handler of this process (seeCoordinationProcessConfig.setHandler(CoordinationHandler)
).String
name()
Returns the process name (seeCoordinationProcessConfig.setName(String)
).
-
-
-
Method Detail
-
name
String name()
Returns the process name (seeCoordinationProcessConfig.setName(String)
).- Returns:
- Process name.
-
future
CoordinationFuture future()
Returns the initial coordination future of this process. The returned future object will be completed once this coordination processes gets executed for the very first time.- Returns:
- Initial coordination future.
-
handler
CoordinationHandler handler()
Returns the handler of this process (seeCoordinationProcessConfig.setHandler(CoordinationHandler)
).- Returns:
- Handler.
-
-