Class SnapshotHandlerResult<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotHandlerResult<T>
-
- Type Parameters:
T- Type of the local processing result.
- All Implemented Interfaces:
Serializable
public class SnapshotHandlerResult<T> extends Object implements Serializable
Result of local processing on the node. In addition to the result received from the handler, it also includes information about the error (if any) and the node on which this result was received.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotHandlerResult(T data, @Nullable Exception err, ClusterNode node)
-
-
-
Constructor Detail
-
SnapshotHandlerResult
public SnapshotHandlerResult(@Nullable T data, @Nullable @Nullable Exception err, ClusterNode node)- Parameters:
data- Result of local processing.err- Processing error.node- Processing node.
-
-
Method Detail
-
data
@Nullable public T data()
- Returns:
- Result of local processing.
-
error
@Nullable public @Nullable Exception error()
- Returns:
- Processing error.
-
node
public ClusterNode node()
- Returns:
- Processing node.
-
-