Package io.atomix.utils
Interface Builder<T>
- Type Parameters:
T- type to build
- All Known Implementing Classes:
LoggerContext.Builder,SerializerBuilder
public interface Builder<T>
Object builder.
This is a base interface for building objects in Catalyst.
-
Method Summary
-
Method Details
-
build
T build()Builds the object.The returned object may be a new instance of the built class or a recycled instance, depending on the semantics of the builder implementation. Users should never assume that a builder allocates a new instance.
- Returns:
- The built object.
-