public class StateUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends StateHandle<?>> |
setOperatorState(OperatorStateCarrier<?> op,
StateHandle<?> state)
Utility method to define a common generic bound to be used for setting a generic state
handle on a generic state carrier.
|
public static <T extends StateHandle<?>> void setOperatorState(OperatorStateCarrier<?> op, StateHandle<?> state) throws Exception
T - Type bound for theop - The state carrier operator.state - The state handle.ExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.