Interface WriteResult
public interface WriteResult
The result of a
SignalStorage write operation.-
Method Summary
Modifier and TypeMethodDescriptionstatic WriteResultgetError()Provides details of why the operation failed.booleanWhether the operation succeeded or not.static WriteResult
-
Method Details
-
isSuccessful
boolean isSuccessful()Whether the operation succeeded or not.- Returns:
- `true` if the items have been successfully stored, `false` otherwise.
-
getError
Provides details of why the operation failed.- Returns:
- The error (if any) for the failed operation. It must be null for successful operations.
-
successful
-
error
-