| Modifier and Type | Field and Description |
|---|---|
| private final AttributeHolder | |
| private final ThreadLocalPool | |
| private final ThreadCache. | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | DefaultWorkerThread(AttributeBuilder attrBuilder, String name, ThreadLocalPool<E> pool, Runnable runTask)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AttributeHolder | getAttributes()
Implements org. Get associated |
| public final <E> E | Returns: cached object.the cached object type index. indexGet the cached object with the given type index from cache. |
| public ThreadLocalPool | |
| public Thread | |
| public long | |
| public final <E> boolean | |
| public void | setTransactionTimeout(long timeout, TimeUnit timeunit)
Implements org.
|
| public final <E> E | Returns: cached object.the cached object type index. indexTake the cached object with the given type index from cache. |
| attributes | back to summary |
|---|---|
| private final AttributeHolder attributes | |
| memoryPool | back to summary |
|---|---|
| private final ThreadLocalPool<E> memoryPool | |
| objectCache | back to summary |
|---|---|
| private final ThreadCache. | |
| transactionTimeoutMillis | back to summary |
|---|---|
| private long transactionTimeoutMillis | |
| DefaultWorkerThread | back to summary |
|---|---|
| public DefaultWorkerThread(AttributeBuilder attrBuilder, String name, ThreadLocalPool<E> pool, Runnable runTask) | |
| destroy | back to summary |
|---|---|
| public void destroy() | |
| getAttributes | back to summary |
|---|---|
| public AttributeHolder getAttributes() Implements org. Doc from org. Get associated
| |
| getFromCache | back to summary |
|---|---|
| public final <E> E getFromCache(final ThreadCache. Get the cached object with the given type index from cache. Unlike
| |
| getMemoryPool | back to summary |
|---|---|
| public ThreadLocalPool | |
| getThread | back to summary |
|---|---|
| public Thread getThread() Implements org.
| |
| getTransactionTimeout | back to summary |
|---|---|
| public long getTransactionTimeout(TimeUnit timeunit) Implements org.
| |
| putToCache | back to summary |
|---|---|
| public final <E> boolean putToCache(final ThreadCache. | |
| setTransactionTimeout | back to summary |
|---|---|
| public void setTransactionTimeout(long timeout, TimeUnit timeunit) Implements org.
| |
| takeFromCache | back to summary |
|---|---|
| public final <E> E takeFromCache(final ThreadCache. Take the cached object with the given type index from cache. Unlike
| |