Class WalStateResult
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.WalStateResult
-
public class WalStateResult extends Object
Local WAL state change result.
-
-
Constructor Summary
Constructors Constructor Description WalStateResult(WalStateProposeMessage msg, boolean changed)Constructor.WalStateResult(WalStateProposeMessage msg, String errMsg)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchanged()@Nullable StringerrorMessage()WalStateProposeMessagemessage()StringtoString()
-
-
-
Constructor Detail
-
WalStateResult
public WalStateResult(WalStateProposeMessage msg, boolean changed)
Constructor.- Parameters:
msg- Original message.changed- Whether mode was changed.
-
WalStateResult
public WalStateResult(WalStateProposeMessage msg, String errMsg)
Constructor.- Parameters:
msg- Original message.errMsg- Error message (if any).
-
-
Method Detail
-
message
public WalStateProposeMessage message()
- Returns:
- Original message.
-
changed
public boolean changed()
- Returns:
- Whether mode was changed.
-
errorMessage
@Nullable public @Nullable String errorMessage()
- Returns:
- Error message (if any).
-
-