public interface StateHandle<T> extends StateObject
Modifier and Type | Method and Description |
---|---|
T |
getState(ClassLoader userCodeClassLoader)
This retrieves and return the state represented by the handle.
|
discardState, getStateSize
T getState(ClassLoader userCodeClassLoader) throws Exception
userCodeClassLoader
- Class loader for deserializing user code specific classesException
- Thrown, if the state cannot be fetched.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.