Uses of Class
org.xipki.util.ConcurrentBag.BagEntry
-
Packages that use ConcurrentBag.BagEntry Package Description org.xipki.util -
-
Uses of ConcurrentBag.BagEntry in org.xipki.util
Methods in org.xipki.util that return ConcurrentBag.BagEntry Modifier and Type Method Description ConcurrentBag.BagEntry<T>ConcurrentBag. borrow(long timeout, java.util.concurrent.TimeUnit timeUnit)The method will borrow a BagEntry from the bag, blocking for the specified timeout if none are available.Methods in org.xipki.util that return types with arguments of type ConcurrentBag.BagEntry Modifier and Type Method Description java.util.List<ConcurrentBag.BagEntry<T>>ConcurrentBag. values()This method provides a "snapshot" in time of the bag items.Methods in org.xipki.util with parameters of type ConcurrentBag.BagEntry Modifier and Type Method Description voidConcurrentBag. add(ConcurrentBag.BagEntry<T> bagEntry)Add a new object to the bag for others to borrow.booleanConcurrentBag. remove(ConcurrentBag.BagEntry<T> bagEntry)Remove a value from the bag.voidConcurrentBag. requite(ConcurrentBag.BagEntry<T> bagEntry)This method will return a borrowed object to the bag.
-