public interface GrizzlyFuture<R> extends Future<R>, Cacheable
Future
implementation, which might be recycled and reused.Modifier and Type | Method and Description |
---|---|
void |
markForRecycle(boolean recycleResult)
Deprecated.
|
void |
recycle(boolean recycleResult)
Recycle GrizzlyFuture now.
|
void markForRecycle(boolean recycleResult)
recycleResult
- if true - the GrizzlyFuture result,
if it support recycleable mechanism, will be also recycled together
with this GrizzlyFuture object.void recycle(boolean recycleResult)
recycleResult
- if true - the GrizzlyFuture result,
if it support recycleable mechanism, will be also recycled together
with this GrizzlyFuture object.Copyright © 2013 Oracle Corporation. All Rights Reserved.