T
- the type of the MethodWriter that will be built by this builderpublic interface MethodWriterBuilder<T> extends Supplier<T>
Modifier and Type | Method and Description |
---|---|
default T |
build()
Builds the MethodWriter instance.
|
MethodWriterBuilder<T> |
genericEvent(String genericEvent)
Specifies the identifier for generic events.
|
default MethodWriterBuilder<T> |
metaData(boolean metaData)
Controls whether metadata should be included in the binary stream.
|
MethodWriterBuilder<T> |
onClose(net.openhft.chronicle.core.io.Closeable closeable)
Specifies a Closeable that should be invoked when the MethodWriter is closed.
|
default MethodWriterBuilder<T> |
updateInterceptor(UpdateInterceptor updateInterceptor)
Specifies an UpdateInterceptor for the MethodWriter.
|
default MethodWriterBuilder<T> |
verboseTypes(boolean verboseTypes)
Controls whether type information should be included in a verbose manner.
|
MethodWriterBuilder<T> genericEvent(String genericEvent)
genericEvent
- the identifier used for generic eventsdefault MethodWriterBuilder<T> metaData(boolean metaData)
metaData
- true if metadata should be included; false otherwiseMethodWriterBuilder<T> onClose(net.openhft.chronicle.core.io.Closeable closeable)
closeable
- the Closeable to invoke when the MethodWriter is closeddefault MethodWriterBuilder<T> updateInterceptor(UpdateInterceptor updateInterceptor)
updateInterceptor
- the UpdateInterceptor to useUnsupportedOperationException
- if the implementation does not support this operationdefault MethodWriterBuilder<T> verboseTypes(boolean verboseTypes)
verboseTypes
- true if type information should be verbose; false otherwisedefault T build()
Copyright © 2024. All rights reserved.