Package | Description |
---|---|
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
Modifier and Type | Method and Description |
---|---|
Pool.Entry |
Pool.acquire()
Acquire an entry from the pool.
|
Pool.Entry |
Pool.acquire(java.util.function.Function<Pool.Entry,T> creator)
Utility method to acquire an entry from the pool,
reserving and creating a new entry if necessary.
|
Pool.Entry |
Pool.acquireAt(int idx)
Deprecated.
No longer supported. Instead use a
Pool.StrategyType to configure the pool. |
Pool.Entry |
Pool.reserve()
Create a new disabled slot into the pool.
|
Pool.Entry |
Pool.reserve(int allotment)
Deprecated.
Use
Pool.reserve() instead |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Pool.Entry> |
Pool.values() |
Modifier and Type | Method and Description |
---|---|
boolean |
Pool.release(Pool.Entry entry)
This method will return an acquired object to the pool.
|
boolean |
Pool.remove(Pool.Entry entry)
Remove a value from the pool.
|
Modifier and Type | Method and Description |
---|---|
Pool.Entry |
Pool.acquire(java.util.function.Function<Pool.Entry,T> creator)
Utility method to acquire an entry from the pool,
reserving and creating a new entry if necessary.
|
Copyright © 1995–2021 Webtide. All rights reserved.