| Package | Description |
|---|---|
| org.xipki.pkcs11.wrapper |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentBag.BagEntry<T> |
ConcurrentBag.borrow(long timeout,
TimeUnit timeUnit)
The method will borrow a BagEntry from the bag, blocking for the
specified timeout if none are available.
|
| Modifier and Type | Method and Description |
|---|---|
List<ConcurrentBag.BagEntry<T>> |
ConcurrentBag.values()
This method provides a "snapshot" in time of the bag items.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConcurrentBag.add(ConcurrentBag.BagEntry<T> bagEntry)
Add a new object to the bag for others to borrow.
|
boolean |
ConcurrentBag.remove(ConcurrentBag.BagEntry<T> bagEntry)
Remove a value from the bag.
|
void |
ConcurrentBag.requite(ConcurrentBag.BagEntry<T> bagEntry)
This method will return a borrowed object to the bag.
|
Copyright © 2023. All rights reserved.