| Constructor and Description | 
|---|
| Builder() | 
| Modifier and Type | Method and Description | 
|---|---|
| GryoPool | create()Create the  GryoPoolfrom this builder. | 
| GryoPool.Builder | initializeMapper(Consumer<GryoMapper.Builder> gryoMapperConsumer)A consumer to update the  GryoMapper.Builderonce constructed. | 
| GryoPool.Builder | ioRegistries(List<Object> ioRegistryClassNames)The  IoRegistryclass names to use for theGryoPool | 
| GryoPool.Builder | ioRegistry(Object ioRegistryClassName)The  IoRegistryclass name to use for theGryoPool | 
| GryoPool.Builder | poolSize(int poolSize)The size of the  GryoPool. | 
| GryoPool.Builder | type(GryoPool.Type type)The type of  GryoPoolto support -- seeType | 
| GryoPool.Builder | version(GryoVersion version)Set the version of Gryo to use for this pool. | 
public GryoPool.Builder version(GryoVersion version)
public GryoPool.Builder ioRegistries(List<Object> ioRegistryClassNames)
IoRegistry class names to use for the GryoPoolioRegistryClassNames - a list of class namespublic GryoPool.Builder ioRegistry(Object ioRegistryClassName)
IoRegistry class name to use for the GryoPoolioRegistryClassName - a class namepublic GryoPool.Builder poolSize(int poolSize)
GryoPool. The size can not be changed once created.poolSize - the pool sizepublic GryoPool.Builder type(GryoPool.Type type)
GryoPool to support -- see Typetype - the pool typepublic GryoPool.Builder initializeMapper(Consumer<GryoMapper.Builder> gryoMapperConsumer)
GryoMapper.Builder once constructed.gryoMapperConsumer - the GryoMapper.Builder consumerpublic GryoPool create()
GryoPool from this builder.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.