Package org.wildfly.common.cpu
Class CacheLevelInfo
java.lang.Object
org.wildfly.common.cpu.CacheLevelInfo
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.Get the level index.intDeprecated, for removal: This API element is subject to removal in a future version.Get the size of this cache level in kilobytes.intDeprecated, for removal: This API element is subject to removal in a future version.Get the cache line size in bytes.Deprecated, for removal: This API element is subject to removal in a future version.Get the type of cache.
-
Method Details
-
getCacheLevel
public int getCacheLevel()Deprecated, for removal: This API element is subject to removal in a future version.Get the level index. For example, the level of L1 cache will be "1", L2 will be "2", etc. If the level is not known, 0 is returned.- Returns:
- the level index, or 0 if unknown
-
getCacheType
Deprecated, for removal: This API element is subject to removal in a future version.Get the type of cache. If the type is unknown,CacheType.UNKNOWNis returned.- Returns:
- the type of cache (not
null)
-
getCacheLevelSizeKB
public int getCacheLevelSizeKB()Deprecated, for removal: This API element is subject to removal in a future version.Get the size of this cache level in kilobytes. If the size is unknown, 0 is returned.- Returns:
- the size of this cache level in kilobytes, or 0 if unknown
-
getCacheLineSize
public int getCacheLineSize()Deprecated, for removal: This API element is subject to removal in a future version.Get the cache line size in bytes. If the size is unknown, 0 is returned.- Returns:
- the cache line size in bytes, or 0 if unknown
-
CacheLevelInfoinstead.