com.j_spaces.core.multiple.write
Interface IWriteResult
- All Superinterfaces: 
 - Serializable
 
public interface IWriteResult
- extends Serializable
 
Hold result that can be either lease or Throwable.
 Used with WriteMultiplePartialFailureException to hold 
 multiple results for multiple write operations.
 
 
getResultType
IWriteResult.ResultType getResultType()
 
- Returns:
 - the result type of this value, can be one of enum ResultType
 
 
getError
Throwable getError()
 
- Returns:
 - the error value that this value represent, or null if getResultType() does not return ERROR.
 
 
getLease
Lease getLease()
 
- Returns:
 - the lease that this value stands for , or null if getResultType() does not return LEASE.
 
 
isError
boolean isError()
 
- Returns:
 - true if and only if this write result contains error value.
 - Since:
 
  - 6.6.1