Package com.google.cloud
Interface RestorableState<T extends Restorable<T>>
-
- Type Parameters:
T
- the restored object's type
- All Known Implementing Classes:
BaseWriteChannel.BaseState
public interface RestorableState<T extends Restorable<T>>
A common interface for restorable states. Implementations ofRestorableState
are capable of saving the state of an object to restore it for later use.Implementations of this class must implement
Serializable
to ensure that the state of a the object can be correctly serialized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
restore()
Returns an object whose internal state reflects the one saved in the invocation object.
-
-
-
Method Detail
-
restore
T restore()
Returns an object whose internal state reflects the one saved in the invocation object.
-
-