public class LoadedDatabaseStatistics extends Object
Constructor and Description |
---|
LoadedDatabaseStatistics() |
Modifier and Type | Method and Description |
---|---|
long |
getCountOfAttachments()
Deprecated.
Use RavenFS instead.
|
long |
getCountOfDocuments()
Total count of documents in database.
|
double |
getDatabaseTransactionVersionSizeInMB()
Transaction version size in megabytes for database.
|
String |
getIndexStorageHumaneSize()
Size of a index storage in a more human readable format.
|
long |
getIndexStorageSize()
Size of a index storage in bytes.
|
Date |
getLastActivity()
Time of last activity on this database.
|
DatabaseMetrics |
getMetrics()
Database metrics.
|
String |
getName()
Name of database.
|
StorageStats |
getStorageStats()
Database storage statistics.
|
String |
getTotalDatabaseHumaneSize()
Total database size in a more human readable format.
|
long |
getTotalDatabaseSize()
Total database size in bytes.
|
long |
getTransactionalStorageAllocatedSize()
Size (allocated) of a transactional storage in bytes.
|
String |
getTransactionalStorageAllocatedSizeHumaneSize()
Size (allocated) of a transactional storage in a more human readable format.
|
long |
getTransactionalStorageUsedSize()
Size (used) of a transactional storage in bytes.
|
String |
getTransactionalStorageUsedSizeHumaneSize()
Size (used) of a transactional storage in a more human readable format.
|
void |
setCountOfAttachments(long countOfAttachments)
Deprecated.
Use RavenFS instead.
|
void |
setCountOfDocuments(long countOfDocuments)
Total count of documents in database.
|
void |
setDatabaseTransactionVersionSizeInMB(double databaseTransactionVersionSizeInMB)
Transaction version size in megabytes for database.
|
void |
setIndexStorageHumaneSize(String indexStorageHumaneSize)
Size of a index storage in a more human readable format.
|
void |
setIndexStorageSize(long indexStorageSize)
Size of a index storage in bytes.
|
void |
setLastActivity(Date lastActivity)
Time of last activity on this database.
|
void |
setMetrics(DatabaseMetrics metrics)
Database metrics.
|
void |
setName(String name)
Name of database.
|
void |
setStorageStats(StorageStats storageStats)
Database storage statistics.
|
void |
setTotalDatabaseHumaneSize(String totalDatabaseHumaneSize)
Total database size in a more human readable format.
|
void |
setTotalDatabaseSize(long totalDatabaseSize)
Total database size in bytes.
|
void |
setTransactionalStorageAllocatedSize(long transactionalStorageAllocatedSize)
Size (allocated) of a transactional storage in bytes.
|
void |
setTransactionalStorageAllocatedSizeHumaneSize(String transactionalStorageAllocatedSizeHumaneSize)
Size (allocated) of a transactional storage in a more human readable format.
|
void |
setTransactionalStorageUsedSize(long transactionalStorageUsedSize)
Size (used) of a transactional storage in bytes.
|
void |
setTransactionalStorageUsedSizeHumaneSize(String transactionalStorageUsedSizeHumaneSize)
Size (used) of a transactional storage in a more human readable format.
|
public StorageStats getStorageStats()
public void setStorageStats(StorageStats storageStats)
storageStats
- public DatabaseMetrics getMetrics()
public void setMetrics(DatabaseMetrics metrics)
metrics
- public String getName()
public void setName(String name)
name
- public Date getLastActivity()
public void setLastActivity(Date lastActivity)
lastActivity
- @Deprecated public long getCountOfAttachments()
@Deprecated public void setCountOfAttachments(long countOfAttachments)
countOfAttachments
- public long getIndexStorageSize()
public void setIndexStorageSize(long indexStorageSize)
indexStorageSize
- public String getIndexStorageHumaneSize()
public void setIndexStorageHumaneSize(String indexStorageHumaneSize)
indexStorageHumaneSize
- public long getTotalDatabaseSize()
public void setTotalDatabaseSize(long totalDatabaseSize)
totalDatabaseSize
- public String getTotalDatabaseHumaneSize()
public void setTotalDatabaseHumaneSize(String totalDatabaseHumaneSize)
totalDatabaseHumaneSize
- public long getCountOfDocuments()
public void setCountOfDocuments(long countOfDocuments)
countOfDocuments
- public double getDatabaseTransactionVersionSizeInMB()
public void setDatabaseTransactionVersionSizeInMB(double databaseTransactionVersionSizeInMB)
databaseTransactionVersionSizeInMB
- public long getTransactionalStorageAllocatedSize()
public void setTransactionalStorageAllocatedSize(long transactionalStorageAllocatedSize)
transactionalStorageAllocatedSize
- public String getTransactionalStorageAllocatedSizeHumaneSize()
public void setTransactionalStorageAllocatedSizeHumaneSize(String transactionalStorageAllocatedSizeHumaneSize)
transactionalStorageAllocatedSizeHumaneSize
- public long getTransactionalStorageUsedSize()
public void setTransactionalStorageUsedSize(long transactionalStorageUsedSize)
transactionalStorageUsedSize
- public String getTransactionalStorageUsedSizeHumaneSize()
public void setTransactionalStorageUsedSizeHumaneSize(String transactionalStorageUsedSizeHumaneSize)
transactionalStorageUsedSizeHumaneSize
- Copyright © 2016. All Rights Reserved.