| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | CallContextCache.SingletonHolder
Holder class to do lazy allocation of the ClosureManager instance |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final CallContext | |
| public final CallContext | getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)
|
| public final CallContext | getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno)
|
| public final CallContext | getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
|
| public final CallContext | getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
|
| public static CallContextCache | Returns: An instance of aCallContextCacheGets the global instance of the |
| contextCache | back to summary |
|---|---|
| private final Map<CallContextCache. | |
| contextReferenceQueue | back to summary |
|---|---|
| private final ReferenceQueue<CallContext> contextReferenceQueue | |
| CallContextCache | back to summary |
|---|---|
| private CallContextCache() Constructs a ClosureManager | |
| getCallContext | back to summary |
|---|---|
| public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention) | |
| getCallContext | back to summary |
|---|---|
| public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) | |
| getCallContext | back to summary |
|---|---|
| public final CallContext getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno) | |
| getCallContext | back to summary |
|---|---|
| public final CallContext getCallContext(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) | |
| getCallContext | back to summary |
|---|---|
| public final CallContext getCallContext(Type returnType, int fixedParamCount, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) | |
| getInstance | back to summary |
|---|---|
| public static CallContextCache getInstance() Gets the global instance of the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CallContextCache. |
| Access | Constructor and Description |
|---|---|
| public | CallContextRef(CallContextCache.
|
| signature | back to summary |
|---|---|
| pack-priv final CallContextCache. | |
| CallContextRef | back to summary |
|---|---|
| public CallContextRef(CallContextCache. | |
| Modifier and Type | Field and Description |
|---|---|
| private final CallingConvention | |
| private final boolean | |
| private int | |
| private final Type[] | |
| private final Type | returnType
Keep references to the return and parameter types so they do not get garbage collected until the closure does. |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | Signature(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect)
|
| Modifier and Type | Method and Description |
|---|---|
| private final int | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int |
| convention | back to summary |
|---|---|
| private final CallingConvention convention | |
| faultProtect | back to summary |
|---|---|
| private final boolean faultProtect | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| parameterTypes | back to summary |
|---|---|
| private final Type[] parameterTypes | |
| returnType | back to summary |
|---|---|
| private final Type returnType Keep references to the return and parameter types so they do not get garbage collected until the closure does. | |
| saveErrno | back to summary |
|---|---|
| private final boolean saveErrno | |
| Signature | back to summary |
|---|---|
| public Signature(Type returnType, Type[] parameterTypes, CallingConvention convention, boolean saveErrno, boolean faultProtect) | |
| calculateHashCode | back to summary |
|---|---|
| private final int calculateHashCode() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final CallContextCache |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final CallContextCache INSTANCE | |
| SingletonHolder | back to summary |
|---|---|
| private SingletonHolder() | |