T
- The type of elements that the created WindowBuffer
can store.O
- The type of elements that the created buffer will return when asked for its contents.B
- The type of the created WindowBuffer
@Internal public interface WindowBufferFactory<T,O,B extends WindowBuffer<T,O>> extends Serializable
WindowBuffers
.Modifier and Type | Method and Description |
---|---|
B |
create()
Creates a new
WindowBuffer . |
B |
restoreFromSnapshot(DataInputView in)
Restores a
WindowBuffer from a previous snapshot written using
WindowBuffer.snapshot(DataOutputView) . |
B create()
WindowBuffer
.B restoreFromSnapshot(DataInputView in) throws IOException
WindowBuffer
from a previous snapshot written using
WindowBuffer.snapshot(DataOutputView)
.IOException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.