|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.curjent.impl.agent.ProxyInfo
final class ProxyInfo
Cached information needed to create a new proxy instance. This includes the proxy's constructor and any additional runtime information needed to initialize new proxies.
ProxyFactory
Field Summary | |
---|---|
(package private) int |
acceptedCapacity
Value from Capacity.accepted() or Integer.MAX_VALUE . |
(package private) CallInfo[] |
calls
Runtime call site information for each interface method. |
(package private) boolean |
capacityAnnotation
true if the task's type is annotated with Capacity . |
(package private) Constructor<?> |
constructor
Proxy's constructor. |
(package private) long |
expirationTimeout
Value from Expiration.timeout() or Expirations.NIL . |
(package private) TimeUnit |
expirationUnit
Value from Expiration.unit() or TimeUnit.NANOSECONDS . |
(package private) int |
pendingCapacity
Value from Capacity.pending() or Integer.MAX_VALUE . |
(package private) long |
pendingTimeout
Value from Capacity.timeout() or Long.MAX_VALUE . |
(package private) TimeUnit |
pendingUnit
Value from Capacity.unit() or TimeUnit.NANOSECONDS . |
Constructor Summary | |
---|---|
ProxyInfo(Constructor<?> constructor,
TypeInfo typeInfo)
Saves the constructor and extracts any additional runtime information needed to initialize new proxy instances. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final CallInfo[] calls
final Constructor<?> constructor
final boolean capacityAnnotation
true
if the task's type is annotated with Capacity
.
final int acceptedCapacity
Capacity.accepted()
or Integer.MAX_VALUE
.
final int pendingCapacity
Capacity.pending()
or Integer.MAX_VALUE
.
final long pendingTimeout
Capacity.timeout()
or Long.MAX_VALUE
.
final TimeUnit pendingUnit
Capacity.unit()
or TimeUnit.NANOSECONDS
.
final long expirationTimeout
Expiration.timeout()
or Expirations.NIL
.
final TimeUnit expirationUnit
Expiration.unit()
or TimeUnit.NANOSECONDS
.
Constructor Detail |
---|
ProxyInfo(Constructor<?> constructor, TypeInfo typeInfo)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |