public static class Management.VolumeInfo extends Management.AcquisitionTimeBase implements Serializable, Comparable<Management.VolumeInfo>
Management.getVolumeInfoArray()
returns information about all open Volumes in an array of
VolumeInfo
elements.Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
VolumeInfo(int pageSize,
String path,
String name,
long id,
long createTime,
long openTime,
long generation,
long getCounter,
long readCounter,
long writeCounter,
long lastRead,
long lastWrite,
long lastExtension,
long maximumPage,
long currentPageCount,
long maximumPageCount,
long extensionPageCount,
long garbageRootPage,
long fetchCounter,
long traverseCounter,
long storeCounter,
long removeCounter,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Management.VolumeInfo volumeInfo) |
boolean |
equals(Object object)
Tests whether the supplied object is a
VolumeInfo with
the same volume name and id as this one. |
Date |
getCreateTime()
Return the time and date when this
Volume was created. |
long |
getCurrentSize()
Return the current size in bytes of this
Volume . |
long |
getExtensionSize()
Return the size in bytes by which Persistit will extend this
Volume when additional file space is required. |
long |
getFetchCounter()
Return the count of
Exchange.fetch() operations. |
long |
getGeneration()
Return the generation number for this
Volume . |
long |
getGetCounter()
Return the number of get operations on this
Volume . |
long |
getId()
Return the internal identifier value for this
Volume |
Date |
getLastExtensionTime()
Return the time and date when the most recent file extension
occurred.
|
Date |
getLastReadTime()
Return the time and date when the most recent file read occurred.
|
Date |
getLastWriteTime()
Return the time and date when the most recent file write occurred.
|
long |
getMaximumPageAddress()
Return the largest page address currently in use within the
Volume . |
long |
getMaximumSize()
Return the maximum size in bytes to which this
Volume
may grow. |
String |
getName()
Return the alias if one was assigned in the system configuration.
|
Date |
getOpenTime()
Return the time and date when this
Volume was opened. |
int |
getPageSize()
Return the page size for this
Volume . |
String |
getPath()
Return the full path name.
|
long |
getReadCounter()
Return the number of physical read operations performed against pages
in this
Volume . |
long |
getRemoveCounter()
Return the count of
Exchange.remove() operations, including
Exchange.fetchAndRemove() operations. |
long |
getStoreCounter()
Return the count of
Exchange.store(com.persistit.Key, com.persistit.Value) operations, including
Exchange.fetchAndStore() operations. |
long |
getTraverseCounter()
Return the count of
Exchange.traverse(com.persistit.Key.Direction, boolean) operations. |
long |
getWriteCounter()
Return the number of physical write operations performed against
pages in this
Volume . |
boolean |
isTransient() |
String |
toString()
Return the name of this Volume
|
getAcquisitionTime, setAcquisitionTime
public static final long serialVersionUID
@ConstructorProperties(value={"pageSize","path","name","id","createTime","openTime","generation","getCounter","readCounter","writeCounter","lastRead","lastWrite","lastExtension","maximumPage","currentPageCount","maximumPageCount","extensionPageCount","garbageRootPage","fetchCounter","traverseCounter","storeCounter","removeCounter","isTransient"}) public VolumeInfo(int pageSize, String path, String name, long id, long createTime, long openTime, long generation, long getCounter, long readCounter, long writeCounter, long lastRead, long lastWrite, long lastExtension, long maximumPage, long currentPageCount, long maximumPageCount, long extensionPageCount, long garbageRootPage, long fetchCounter, long traverseCounter, long storeCounter, long removeCounter, boolean isTransient)
public int getPageSize()
Volume
.Volume
public String getPath()
public String getName()
null if there is none
public long getId()
Volume
public Date getCreateTime()
Volume
was created.public Date getOpenTime()
Volume
was opened.Volume
was opened.public Date getLastReadTime()
public Date getLastWriteTime()
public Date getLastExtensionTime()
public long getGeneration()
Volume
. The
generation number increases as the state of the volume changes.public long getGetCounter()
Volume
. A
get operation occurs when a thread attempts to find or update
information on the page, regardless of whether the page had
previously been copied into the BufferPool
.public long getReadCounter()
Volume
. The read occurs only when Persistit
requires the content of a page that has not already been copied into
the BufferPool or which has become invalid.public long getWriteCounter()
Volume
.public long getFetchCounter()
Exchange.fetch()
operations. These include
Exchange.fetchAndStore()
and Exchange.fetchAndRemove()
operations. This count is maintained within the stored Volume and is
not reset when Persistit closes. It is provided to assist in
application performance tuning.public long getTraverseCounter()
Exchange.traverse(com.persistit.Key.Direction, boolean)
operations. These
include Exchange.next()
, Exchange.previous()
and other
derivative operations. This count is maintained within the stored
Volume and is not reset when Persistit closes. It is provided to
assist in application performance tuning.public long getStoreCounter()
Exchange.store(com.persistit.Key, com.persistit.Value)
operations, including
Exchange.fetchAndStore()
operations. This count is maintained
within the stored Volume and is not reset when Persistit closes. It
is provided to assist in application performance tuning.public long getRemoveCounter()
Exchange.remove()
operations, including
Exchange.fetchAndRemove()
operations. This count is maintained
within the stored Volume and is not reset when Persistit closes. It
is provided to assist in application performance tuning.public long getCurrentSize()
Volume
.public long getMaximumPageAddress()
Volume
.public long getMaximumSize()
Volume
may grow.public long getExtensionSize()
Volume
when additional file space is required.public boolean isTransient()
public String toString()
public boolean equals(Object object)
VolumeInfo
with
the same volume name and id as this one.public int compareTo(Management.VolumeInfo volumeInfo)
compareTo
in interface Comparable<Management.VolumeInfo>
Copyright © 2025 Open Identity Platform Community. All rights reserved.