Interface MemoryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Memory, Memory.Builder

    public interface MemoryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getAllocated()
      The number of bytes allocated by the heap for Envoy.
      long getHeapSize()
      The number of bytes reserved by the heap but not necessarily allocated.
      long getPageheapFree()
      The number of bytes in free, mapped pages in the page heap.
      long getPageheapUnmapped()
      The number of bytes in free, unmapped pages in the page heap.
      long getTotalPhysicalBytes()
      The number of bytes of the physical memory usage by the allocator.
      long getTotalThreadCache()
      The amount of memory used by the TCMalloc thread caches (for small objects).
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getAllocated

        long getAllocated()
         The number of bytes allocated by the heap for Envoy. This is an alias for
         `generic.current_allocated_bytes`.
         
        uint64 allocated = 1;
        Returns:
        The allocated.
      • getHeapSize

        long getHeapSize()
         The number of bytes reserved by the heap but not necessarily allocated. This is an alias for
         `generic.heap_size`.
         
        uint64 heap_size = 2;
        Returns:
        The heapSize.
      • getPageheapUnmapped

        long getPageheapUnmapped()
         The number of bytes in free, unmapped pages in the page heap. These bytes always count towards
         virtual memory usage, and depending on the OS, typically do not count towards physical memory
         usage. This is an alias for `tcmalloc.pageheap_unmapped_bytes`.
         
        uint64 pageheap_unmapped = 3;
        Returns:
        The pageheapUnmapped.
      • getPageheapFree

        long getPageheapFree()
         The number of bytes in free, mapped pages in the page heap. These bytes always count towards
         virtual memory usage, and unless the underlying memory is swapped out by the OS, they also
         count towards physical memory usage. This is an alias for `tcmalloc.pageheap_free_bytes`.
         
        uint64 pageheap_free = 4;
        Returns:
        The pageheapFree.
      • getTotalThreadCache

        long getTotalThreadCache()
         The amount of memory used by the TCMalloc thread caches (for small objects). This is an alias
         for `tcmalloc.current_total_thread_cache_bytes`.
         
        uint64 total_thread_cache = 5;
        Returns:
        The totalThreadCache.
      • getTotalPhysicalBytes

        long getTotalPhysicalBytes()
         The number of bytes of the physical memory usage by the allocator. This is an alias for
         `generic.total_physical_bytes`.
         
        uint64 total_physical_bytes = 6;
        Returns:
        The totalPhysicalBytes.