| Modifier and Type | Field and Description |
|---|---|
| private final ServiceLocatorImpl |
| Access | Constructor and Description |
|---|---|
| private |
| locator | back to summary |
|---|---|
| private final ServiceLocatorImpl locator | |
| ServiceLocatorRuntimeImpl | back to summary |
|---|---|
private ServiceLocatorRuntimeImpl(ServiceLocator locator)
| |
| clearReflectionCache | back to summary |
|---|---|
| public void clearReflectionCache() Implements org. Doc from org. Clears all entries from the HK2 reflection cache. The reflection cache is used to minimize the amount of reflection done by HK2. Calling this method may free up memory but will cause degraded service creation performance until the cache can be built back up
| |
| clearServiceCache | back to summary |
|---|---|
| public void clearServiceCache() Implements org. Doc from org. Clears all entries from the HK2 service cache. The service cache is used to optimize frequent service lookups and injections. Calling this method may free up memory but will cause degraded injection and lookup performance until the cache can be built back up
| |
| getNumberOfChildren | back to summary |
|---|---|
| public int getNumberOfChildren() Implements org. Doc from org. Returns the current total number of children attached to this ServiceLocator
| |
| getNumberOfDescriptors | back to summary |
|---|---|
| public int getNumberOfDescriptors() Implements org. Doc from org. Returns the total number of descriptors in this ServiceLocator. Does not include parent services
| |
| getReflectionCacheSize | back to summary |
|---|---|
| public int getReflectionCacheSize() Implements org. Doc from org. Returns the current size of the HK2 reflection cache. The reflection cache is used to minimize the amount of reflection done by HK2
| |
| getServiceCacheMaximumSize | back to summary |
|---|---|
| public int getServiceCacheMaximumSize() Implements org. Doc from org. Returns the maximum number of entries allowed in the HK2 service cache. The service cache is used to optimize frequent service lookups and injections
| |
| getServiceCacheSize | back to summary |
|---|---|
| public int getServiceCacheSize() Implements org. Doc from org. Returns the current size of the HK2 service cache. The service cache is used to optimize frequent service lookups and injections
| |