| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| private static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private static final GroovyCategorySupport. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static GroovyCategorySupport. | Returns: the list of methodsthe method name of interest name)This method is used to pull all the new methods out of the local thread context with a particular name. |
| public static AtomicInteger | |
| public static String | |
| public static String | |
| public static boolean | |
| public static boolean | |
| public static <T> T | |
| public static <T> T |
| categoriesInUse | back to summary |
|---|---|
| private static int categoriesInUse | |
| THREAD_INFO | back to summary |
|---|---|
| private static final GroovyCategorySupport. | |
| GroovyCategorySupport | back to summary |
|---|---|
| public GroovyCategorySupport() | |
| getCategoryMethods | back to summary |
|---|---|
| public static GroovyCategorySupport. This method is used to pull all the new methods out of the local thread context with a particular name.
| |
| getCategoryNameUsage | back to summary |
|---|---|
| public static AtomicInteger getCategoryNameUsage(String name) | |
| getPropertyCategoryGetterName | back to summary |
|---|---|
| public static String getPropertyCategoryGetterName(String propertyName) | |
| getPropertyCategorySetterName | back to summary |
|---|---|
| public static String getPropertyCategorySetterName(String propertyName) | |
| hasCategoryInAnyThread | back to summary |
|---|---|
| public static boolean hasCategoryInAnyThread()
Deprecated
| |
| hasCategoryInCurrentThread | back to summary |
|---|---|
| public static boolean hasCategoryInCurrentThread() | |
| use | back to summary |
|---|---|
| public static <T> T use(Class<T> categoryClass, Closure<T> closure) Create a scope based on given categoryClass and invoke closure within that scope. | |
| use | back to summary |
|---|---|
| public static <T> T use(List<Class<T>> categoryClasses, Closure<T> closure) Create a scope based on given categoryClasses and invoke closure within that scope. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final Object
the object to compare against that)Implements java. |
| public boolean |
| metaClass | back to summary |
|---|---|
| private final Class<T> metaClass | |
| CategoryMethod | back to summary |
|---|---|
| public CategoryMethod(CachedMethod metaMethod, Class<T> metaClass) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final Object that) Implements java. Sort by most specific to least specific.
| |
| isCacheable | back to summary |
|---|---|
| public boolean isCacheable() Overrides groovy. Doc from groovy. Returns whether this object is cacheable | |
| Modifier and Type | Field and Description |
|---|---|
| public final int | |
| pack-priv final GroovyCategorySupport. | |
| private static final long | |
| pack-priv final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(GroovyCategorySupport.
element to be appended to this list oOverrides java. Implements java. |
| level | back to summary |
|---|---|
| public final int level | |
| previous | back to summary |
|---|---|
| pack-priv final GroovyCategorySupport. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| usage | back to summary |
|---|---|
| pack-priv final AtomicInteger usage | |
| CategoryMethodList | back to summary |
|---|---|
| public CategoryMethodList(String name, int level, GroovyCategorySupport. | |
| add | back to summary |
|---|---|
| public boolean add(GroovyCategorySupport. Overrides java. Implements java. Doc from java. Appends the specified element to the end of this list.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ConcurrentHashMap |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public GroovyCategorySupport. | |
| public GroovyCategorySupport. | |
| public AtomicInteger |
| usage | back to summary |
|---|---|
| pack-priv final ConcurrentHashMap<String, AtomicInteger> usage | |
| MyThreadLocal | back to summary |
|---|---|
| private MyThreadLocal() | |
| getInfo | back to summary |
|---|---|
| public GroovyCategorySupport. | |
| getInfoNullable | back to summary |
|---|---|
| public GroovyCategorySupport. | |
| getUsage | back to summary |
|---|---|
| public AtomicInteger getUsage(String name) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| private static final Object | |
| private Map | |
| private Map | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| public GroovyCategorySupport. | |
| pack-priv String | |
| pack-priv String | |
| private void | |
| private Map | |
| private <T> T | |
| public <T> T | |
| private void |
| level | back to summary |
|---|---|
| pack-priv int level | |
| LOCK | back to summary |
|---|---|
| private static final Object LOCK | |
| propertyGetterMap | back to summary |
|---|---|
| private Map<String, String> propertyGetterMap | |
| propertySetterMap | back to summary |
|---|---|
| private Map<String, String> propertySetterMap | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ThreadCategoryInfo | back to summary |
|---|---|
| public ThreadCategoryInfo() | |
| applyUse | back to summary |
|---|---|
| private void applyUse(CachedClass cachedClass) | |
| cachePropertyAccessor | back to summary |
|---|---|
| private void cachePropertyAccessor(GroovyCategorySupport. | |
| endScope | back to summary |
|---|---|
| private void endScope() | |
| getCategoryMethods | back to summary |
|---|---|
| public GroovyCategorySupport. | |
| getPropertyCategoryGetterName | back to summary |
|---|---|
| pack-priv String getPropertyCategoryGetterName(String propertyName) | |
| getPropertyCategorySetterName | back to summary |
|---|---|
| pack-priv String getPropertyCategorySetterName(String propertyName) | |
| newScope | back to summary |
|---|---|
| private void newScope() | |
| putPropertyAccessor | back to summary |
|---|---|
| private Map | |
| use | back to summary |
|---|---|
| private <T> T use(Class<T> categoryClass, Closure<T> closure) | |
| use | back to summary |
|---|---|
| public <T> T use(List<Class<T>> categoryClasses, Closure<T> closure) | |
| use | back to summary |
|---|---|
| private void use(Class<T> categoryClass) | |