Class CacheLevelInfo

java.lang.Object
org.wildfly.common.cpu.CacheLevelInfo

@Deprecated(forRemoval=true) public final class CacheLevelInfo extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use CacheLevelInfo instead.
Author:
David M. Lloyd
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the level index.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the size of this cache level in kilobytes.
    int
    Deprecated, 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public CacheType 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.UNKNOWN is 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