Class FailureHandlingMxBeanImpl
- java.lang.Object
-
- org.apache.ignite.internal.worker.FailureHandlingMxBeanImpl
-
- All Implemented Interfaces:
FailureHandlingMxBean
public class FailureHandlingMxBeanImpl extends Object implements FailureHandlingMxBean
-
-
Constructor Summary
Constructors Constructor Description FailureHandlingMxBeanImpl(@NotNull WorkersRegistry workersRegistry, @NotNull IgniteCacheDatabaseSharedManager dbMgr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCheckpointReadLockTimeout()booleangetLivenessCheckEnabled()longgetSystemWorkerBlockedTimeout()voidsetCheckpointReadLockTimeout(long val)voidsetLivenessCheckEnabled(boolean val)voidsetSystemWorkerBlockedTimeout(long val)
-
-
-
Constructor Detail
-
FailureHandlingMxBeanImpl
public FailureHandlingMxBeanImpl(@NotNull @NotNull WorkersRegistry workersRegistry, @NotNull @NotNull IgniteCacheDatabaseSharedManager dbMgr)- Parameters:
workersRegistry- Workers registry.dbMgr- Database manager.
-
-
Method Detail
-
getLivenessCheckEnabled
public boolean getLivenessCheckEnabled()
- Specified by:
getLivenessCheckEnabledin interfaceFailureHandlingMxBean- Returns:
- Whether critical workers liveness checking is enabled.
-
setLivenessCheckEnabled
public void setLivenessCheckEnabled(boolean val)
- Specified by:
setLivenessCheckEnabledin interfaceFailureHandlingMxBean- Parameters:
val- Whether critical workers liveness checking is enabled.
-
getSystemWorkerBlockedTimeout
public long getSystemWorkerBlockedTimeout()
- Specified by:
getSystemWorkerBlockedTimeoutin interfaceFailureHandlingMxBean- Returns:
- Maximum inactivity period for system worker. Negative value denotes infinite timeout.
-
setSystemWorkerBlockedTimeout
public void setSystemWorkerBlockedTimeout(long val)
- Specified by:
setSystemWorkerBlockedTimeoutin interfaceFailureHandlingMxBean- Parameters:
val- Maximum inactivity period for system worker. Negative value denotes infinite timeout.
-
getCheckpointReadLockTimeout
public long getCheckpointReadLockTimeout()
- Specified by:
getCheckpointReadLockTimeoutin interfaceFailureHandlingMxBean- Returns:
- Timeout for checkpoint read lock acquisition. Negative value denotes infinite timeout.
-
setCheckpointReadLockTimeout
public void setCheckpointReadLockTimeout(long val)
- Specified by:
setCheckpointReadLockTimeoutin interfaceFailureHandlingMxBean- Parameters:
val- Timeout for checkpoint read lock acquisition. Negative value denotes infinite timeout.
-
-