public interface IComponent extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getHealth()
Checks whether a component is up and running.
|
ComponentId |
getId()
Gets the unique ID of the component.
|
boolean |
initialize(String... parameters)
Initializes the component.
|
boolean |
reset()
Resets the component to the initial state.
|
ComponentId getId() throws IOException
IOException - if getIdentifier fails due to connection problemboolean initialize(String... parameters) throws IOException
parameters - parameter to serializeIOException - if initialization is not finished due to connection
problem.boolean reset()
throws IOException
IOException - if reset failed due to connection problemString getHealth() throws IOException
IOExceptionCopyright © 2018. All rights reserved.