Package org.apache.ignite.client.events
Class ClientFailEvent
- java.lang.Object
-
- org.apache.ignite.client.events.ClientFailEvent
-
- All Implemented Interfaces:
ClientLifecycleEvent
public class ClientFailEvent extends Object implements ClientLifecycleEvent
Event, triggered when Ignite client is failed to start.
-
-
Constructor Summary
Constructors Constructor Description ClientFailEvent(ClientConfiguration cfg, Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientConfiguration
configuration()
Throwable
throwable()
-
-
-
Constructor Detail
-
ClientFailEvent
public ClientFailEvent(ClientConfiguration cfg, Throwable throwable)
- Parameters:
cfg
- Client configuration.throwable
- Throwable that caused the failure.
-
-
Method Detail
-
configuration
public ClientConfiguration configuration()
- Returns:
- Client configuration.
-
throwable
public Throwable throwable()
- Returns:
- A cause of the failure.
-
-