public class DatabaseStatistics extends Object
Constructor and Description |
---|
DatabaseStatistics() |
Modifier and Type | Method and Description |
---|---|
long |
getApproximateTaskCount()
Indicates how many tasks (approximately) are running currently in database.
|
long |
getCountOfAttachments()
Deprecated.
Use RavenFS instead.
|
long |
getCountOfDocuments()
Total number of documents in database.
|
int |
getCountOfIndexes()
Total number of indexes in database.
|
int |
getCountOfIndexesExcludingDisabledAndAbandoned()
Total number of indexes in database excluding disabled and abandoned
|
int |
getCountOfResultTransformers()
Total number of transformers in database.
|
int |
getCountOfStaleIndexesExcludingDisabledAndAbandoned()
Total number of stale indexes excluding disabled and abandoned
|
int |
getCurrentNumberOfItemsToIndexInSingleBatch()
Current value of items that will be processed by index (map) in single batch.
|
int |
getCurrentNumberOfItemsToReduceInSingleBatch()
Current value of items that will be processed by index (reduce) in single batch.
|
int |
getCurrentNumberOfParallelTasks()
The concurrency level that RavenDB is currently using
|
UUID |
getDatabaseId()
Database identifier.
|
float |
getDatabaseTransactionVersionSizeInMB()
Transaction version size in megabytes for database.
|
IndexingError[] |
getErrors()
Array of indexing errors that occurred in database.
|
IndexStats[] |
getIndexes()
Statistics for each index in database.
|
int[] |
getInMemoryIndexingQueueSize()
Indicates how many elements are currently kept in queue for all indexing prefetchers available.
|
Boolean |
getIs64Bit()
Indicates if process is 64-bit
|
Etag |
getLastAttachmentEtag()
Deprecated.
Use RavenFS instead.
|
Etag |
getLastDocEtag()
Last document etag in database.
|
FutureBatchStats[] |
getPrefetches()
Information about future indexing batches.
|
String[] |
getStaleIndexes()
List of stale index names in database.
|
String |
getStorageEngine()
Storage engine used by database (esent, voron).
|
boolean |
isSupportsDtc()
Indicates if database supports DTC transactions.
|
void |
setApproximateTaskCount(long approximateTaskCount)
Indicates how many tasks (approximately) are running currently in database.
|
void |
setCountOfAttachments(long countOfAttachments)
Deprecated.
Use RavenFS instead.
|
void |
setCountOfDocuments(long countOfDocuments)
Total number of documents in database.
|
void |
setCountOfIndexes(int countOfIndexes)
Total number of indexes in database.
|
void |
setCountOfIndexesExcludingDisabledAndAbandoned(int countOfIndexesExcludingDisabledAndAbandoned)
Total number of indexes in database excluding disabled and abandoned
|
void |
setCountOfResultTransformers(int countOfResultTransformers)
Total number of transformers in database.
|
void |
setCountOfStaleIndexesExcludingDisabledAndAbandoned(int countOfStaleIndexesExcludingDisabledAndAbandoned)
Total number of stale indexes excluding disabled and abandoned
|
void |
setCurrentNumberOfItemsToIndexInSingleBatch(int currentNumberOfItemsToIndexInSingleBatch)
Current value of items that will be processed by index (map) in single batch.
|
void |
setCurrentNumberOfItemsToReduceInSingleBatch(int currentNumberOfItemsToReduceInSingleBatch)
Current value of items that will be processed by index (reduce) in single batch.
|
void |
setCurrentNumberOfParallelTasks(int currentNumberOfParallelTasks)
The concurrency level that RavenDB is currently using
|
void |
setDatabaseId(UUID databaseId)
Database identifier.
|
void |
setDatabaseTransactionVersionSizeInMB(float databaseTransactionVersionSizeInMB)
Transaction version size in megabytes for database.
|
void |
setErrors(IndexingError[] errors)
Array of indexing errors that occured in database.
|
void |
setIndexes(IndexStats[] indexes)
Statistics for each index in database.
|
void |
setInMemoryIndexingQueueSize(int[] inMemoryIndexingQueueSize)
Indicates how many elements are currently kept in queue for all indexing prefetchers available.
|
void |
setIs64Bit(Boolean is64Bit)
Indicates if process is 64-bit
|
void |
setLastAttachmentEtag(Etag lastAttachmentEtag)
Deprecated.
Use RavenFS instead.
|
void |
setLastDocEtag(Etag lastDocEtag)
Last document etag in database.
|
void |
setPrefetches(FutureBatchStats[] prefetches)
Information about future indexing batches.
|
void |
setStaleIndexes(String[] staleIndexes)
List of stale index names in database.
|
void |
setStorageEngine(String storageEngine)
Storage engine used by database (esent, voron).
|
void |
setSupportsDtc(boolean supportsDtc)
Indicates if database supports DTC transactions.
|
public int getCountOfStaleIndexesExcludingDisabledAndAbandoned()
public void setCountOfStaleIndexesExcludingDisabledAndAbandoned(int countOfStaleIndexesExcludingDisabledAndAbandoned)
public int getCountOfIndexesExcludingDisabledAndAbandoned()
public void setCountOfIndexesExcludingDisabledAndAbandoned(int countOfIndexesExcludingDisabledAndAbandoned)
public Boolean getIs64Bit()
public void setIs64Bit(Boolean is64Bit)
public int getCountOfResultTransformers()
public void setCountOfResultTransformers(int countOfResultTransformers)
countOfResultTransformers
- public String getStorageEngine()
public void setStorageEngine(String storageEngine)
storageEngine
- public boolean isSupportsDtc()
public void setSupportsDtc(boolean supportsDtc)
supportsDtc
- public long getApproximateTaskCount()
@Deprecated public long getCountOfAttachments()
@Deprecated public void setCountOfAttachments(long countOfAttachments)
public long getCountOfDocuments()
public int getCountOfIndexes()
public int getCurrentNumberOfParallelTasks()
public void setCurrentNumberOfParallelTasks(int currentNumberOfParallelTasks)
public int getCurrentNumberOfItemsToIndexInSingleBatch()
public int getCurrentNumberOfItemsToReduceInSingleBatch()
public UUID getDatabaseId()
public float getDatabaseTransactionVersionSizeInMB()
public IndexingError[] getErrors()
public IndexStats[] getIndexes()
public int[] getInMemoryIndexingQueueSize()
@Deprecated public Etag getLastAttachmentEtag()
public Etag getLastDocEtag()
public FutureBatchStats[] getPrefetches()
public String[] getStaleIndexes()
public void setApproximateTaskCount(long approximateTaskCount)
approximateTaskCount
- public void setCountOfDocuments(long countOfDocuments)
countOfDocuments
- public void setCountOfIndexes(int countOfIndexes)
countOfIndexes
- public void setCurrentNumberOfItemsToIndexInSingleBatch(int currentNumberOfItemsToIndexInSingleBatch)
currentNumberOfItemsToIndexInSingleBatch
- public void setCurrentNumberOfItemsToReduceInSingleBatch(int currentNumberOfItemsToReduceInSingleBatch)
currentNumberOfItemsToReduceInSingleBatch
- public void setDatabaseId(UUID databaseId)
databaseId
- public void setDatabaseTransactionVersionSizeInMB(float databaseTransactionVersionSizeInMB)
databaseTransactionVersionSizeInMB
- public void setErrors(IndexingError[] errors)
errors
- public void setIndexes(IndexStats[] indexes)
indexes
- public void setInMemoryIndexingQueueSize(int[] inMemoryIndexingQueueSize)
inMemoryIndexingQueueSize
- @Deprecated public void setLastAttachmentEtag(Etag lastAttachmentEtag)
public void setLastDocEtag(Etag lastDocEtag)
lastDocEtag
- public void setPrefetches(FutureBatchStats[] prefetches)
prefetches
- public void setStaleIndexes(String[] staleIndexes)
staleIndexes
- Copyright © 2016. All Rights Reserved.