public class BaselineConfigurationChangedEvent extends EventAdapter
Grid events are used for notification about what happens within the grid. Note that by design Ignite keeps all events generated on the local node locally and it provides APIs for performing a distributed queries across multiple nodes:
IgniteEvents.remoteQuery(IgnitePredicate, long, int...)
-
asynchronously querying events occurred on the nodes specified, including remote nodes.
IgniteEvents.localQuery(IgnitePredicate, int...)
-
querying only local events stored on this local node.
IgniteEvents.localListen(IgnitePredicate, int...)
-
listening to local grid events (events from remote nodes not included).
IgniteEvents.waitForLocal(IgnitePredicate, int...)
.
It is highly recommended to enable only those events that your application logic requires
by using IgniteConfiguration.getIncludeEventTypes()
method in Ignite configuration. Note that certain
events are required for Ignite's internal operations and such events will still be generated but not stored by
event storage SPI if they are disabled in Ignite configuration.
Constructor and Description |
---|
BaselineConfigurationChangedEvent(ClusterNode node,
String msg,
int type,
boolean autoAdjustEnabled,
long autoAdjustTimeout)
Creates baseline configuration changed event with given parameters.
|
Modifier and Type | Method and Description |
---|---|
long |
autoAdjustTimeout()
Auto-adjust timeout value in milliseconds.
|
boolean |
isAutoAdjustEnabled()
Auto-adjust "enabled" flag value.
|
public BaselineConfigurationChangedEvent(ClusterNode node, String msg, int type, boolean autoAdjustEnabled, long autoAdjustTimeout)
node
- Node.msg
- Optional event message.type
- Event type.autoAdjustEnabled
- Auto-adjust "enabled" flag value.autoAdjustTimeout
- Auto-adjust timeout value in milliseconds.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024