public static class TimestampAssignerSupplier.SupplierFromSerializableTimestampAssigner<T> extends Object implements TimestampAssignerSupplier<T>
TimestampAssignerSupplier.of(SerializableTimestampAssigner)
would not allow the ClosureCleaner
to "reach"
into the SerializableTimestampAssigner
.TimestampAssignerSupplier.Context, TimestampAssignerSupplier.SupplierFromSerializableTimestampAssigner<T>
Constructor and Description |
---|
SupplierFromSerializableTimestampAssigner(SerializableTimestampAssigner<T> assigner) |
Modifier and Type | Method and Description |
---|---|
TimestampAssigner<T> |
createTimestampAssigner(TimestampAssignerSupplier.Context context)
Instantiates a
TimestampAssigner . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public SupplierFromSerializableTimestampAssigner(SerializableTimestampAssigner<T> assigner)
public TimestampAssigner<T> createTimestampAssigner(TimestampAssignerSupplier.Context context)
TimestampAssignerSupplier
TimestampAssigner
.createTimestampAssigner
in interface TimestampAssignerSupplier<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.