public interface TtlStateVerifier<UV,GV>
Modifier and Type | Field and Description |
---|---|
static List<TtlStateVerifier<?,?>> |
VERIFIERS |
Modifier and Type | Method and Description |
---|---|
State |
createState(FunctionInitializationContext context,
StateTtlConfig ttlConfig) |
UV |
generateRandomUpdate() |
GV |
get(State state) |
default String |
getId() |
TypeSerializer<UV> |
getUpdateSerializer() |
void |
update(State state,
Object update) |
boolean |
verify(TtlVerificationContext<?,?> verificationContext) |
static final List<TtlStateVerifier<?,?>> VERIFIERS
@Nonnull State createState(@Nonnull FunctionInitializationContext context, @Nonnull StateTtlConfig ttlConfig)
@Nonnull TypeSerializer<UV> getUpdateSerializer()
UV generateRandomUpdate()
boolean verify(@Nonnull TtlVerificationContext<?,?> verificationContext)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.