@Singleton @Visibility(value=LOCAL) public class ServiceLocatorRuntimeImpl extends Object implements ServiceLocatorRuntimeBean
| Modifier and Type | Method and Description |
|---|---|
void |
clearReflectionCache()
Clears all entries from the HK2 reflection
cache.
|
void |
clearServiceCache()
Clears all entries from the HK2 service cache.
|
int |
getNumberOfChildren()
Returns the current total number of children
attached to this ServiceLocator
|
int |
getNumberOfDescriptors()
Returns the total number of descriptors
in this ServiceLocator.
|
int |
getReflectionCacheSize()
Returns the current size of the HK2 reflection
cache.
|
int |
getServiceCacheMaximumSize()
Returns the maximum number of entries allowed
in the HK2 service cache.
|
int |
getServiceCacheSize()
Returns the current size of the HK2 service
cache.
|
public int getNumberOfDescriptors()
ServiceLocatorRuntimeBeangetNumberOfDescriptors in interface ServiceLocatorRuntimeBeanpublic int getNumberOfChildren()
ServiceLocatorRuntimeBeangetNumberOfChildren in interface ServiceLocatorRuntimeBeanpublic int getServiceCacheSize()
ServiceLocatorRuntimeBeangetServiceCacheSize in interface ServiceLocatorRuntimeBeanpublic int getServiceCacheMaximumSize()
ServiceLocatorRuntimeBeangetServiceCacheMaximumSize in interface ServiceLocatorRuntimeBeanpublic void clearServiceCache()
ServiceLocatorRuntimeBeanclearServiceCache in interface ServiceLocatorRuntimeBeanpublic int getReflectionCacheSize()
ServiceLocatorRuntimeBeangetReflectionCacheSize in interface ServiceLocatorRuntimeBeanpublic void clearReflectionCache()
ServiceLocatorRuntimeBeanclearReflectionCache in interface ServiceLocatorRuntimeBeanCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.