public final class V8SharedMemoryStatistics
extends java.lang.Object
| Constructor and Description |
|---|
V8SharedMemoryStatistics(long readOnlySpacePhysicalSize,
long readOnlySpaceSize,
long readOnlySpaceUsedSize)
Instantiates a new V8 shared memory statistics.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getReadOnlySpacePhysicalSize()
Gets read only space physical size.
|
long |
getReadOnlySpaceSize()
Gets read only space size.
|
long |
getReadOnlySpaceUsedSize()
Gets read only space used size.
|
V8SharedMemoryStatistics |
minus(V8SharedMemoryStatistics v8SharedMemoryStatistics)
Minus the input V8 shared memory statistics to produce a diff.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean ignoreZero)
To string with zero value ignored or not.
|
public V8SharedMemoryStatistics(long readOnlySpacePhysicalSize,
long readOnlySpaceSize,
long readOnlySpaceUsedSize)
readOnlySpacePhysicalSize - the read only space physical sizereadOnlySpaceSize - the read only space sizereadOnlySpaceUsedSize - the read only space used sizepublic long getReadOnlySpacePhysicalSize()
public long getReadOnlySpaceSize()
public long getReadOnlySpaceUsedSize()
public V8SharedMemoryStatistics minus(V8SharedMemoryStatistics v8SharedMemoryStatistics)
v8SharedMemoryStatistics - the V8 shared memory statisticspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean ignoreZero)
ignoreZero - ignore zero