Package org.jgroups.util
Class Pool.Element<T>
- java.lang.Object
-
- org.jgroups.util.Pool.Element<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getElement()
java.util.concurrent.locks.Lock
getLock()
java.lang.String
toString()
-
-
-
Field Detail
-
element
protected final T element
-
lock
protected final java.util.concurrent.locks.Lock lock
-
-
Constructor Detail
-
Element
public Element(T element, java.util.concurrent.locks.Lock lock)
-
-
Method Detail
-
getElement
public T getElement()
-
getLock
public java.util.concurrent.locks.Lock getLock()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-