com.thoughtworks.proxy.toys.pool
Class Pool.PoolModeOrBuild<T>
java.lang.Object
com.thoughtworks.proxy.toys.pool.Pool.PoolBuild<T>
com.thoughtworks.proxy.toys.pool.Pool.PoolModeOrBuild<T>
- Direct Known Subclasses:
- Pool.PoolWith
- Enclosing class:
- Pool<T>
public static class Pool.PoolModeOrBuild<T>
- extends Pool.PoolBuild<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mode
public Pool.PoolBuild<T> mode(SerializationMode serializationMode)
- Specify the serializationMode
- Parameters:
serializationMode
-
- Returns:
- the pool with a certain serialization mode
- Throws:
IllegalArgumentException
- if the serialization mode is not one of the
predefined values- Since:
- 0.2
Copyright © 2005-2010 Codehaus. All Rights Reserved.