T
- the type of the pooled objectpublic abstract class Recycler<T> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Recycler.Handle |
Constructor and Description |
---|
Recycler() |
Modifier and Type | Method and Description |
---|---|
T |
get() |
protected abstract T |
newObject(Recycler.Handle handle) |
boolean |
recycle(T o,
Recycler.Handle handle) |
public final T get()
public final boolean recycle(T o, Recycler.Handle handle)
protected abstract T newObject(Recycler.Handle handle)
Copyright © 2008–2014 The Netty Project. All rights reserved.