@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()
ServiceLocatorRuntimeBean
getNumberOfDescriptors
in interface ServiceLocatorRuntimeBean
public int getNumberOfChildren()
ServiceLocatorRuntimeBean
getNumberOfChildren
in interface ServiceLocatorRuntimeBean
public int getServiceCacheSize()
ServiceLocatorRuntimeBean
getServiceCacheSize
in interface ServiceLocatorRuntimeBean
public int getServiceCacheMaximumSize()
ServiceLocatorRuntimeBean
getServiceCacheMaximumSize
in interface ServiceLocatorRuntimeBean
public void clearServiceCache()
ServiceLocatorRuntimeBean
clearServiceCache
in interface ServiceLocatorRuntimeBean
public int getReflectionCacheSize()
ServiceLocatorRuntimeBean
getReflectionCacheSize
in interface ServiceLocatorRuntimeBean
public void clearReflectionCache()
ServiceLocatorRuntimeBean
clearReflectionCache
in interface ServiceLocatorRuntimeBean
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.