public class IndexStats extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexStats.IndexingPerformanceStats |
static class |
IndexStats.IndexingPriority |
Modifier and Type | Field and Description |
---|---|
int |
docsCount |
Constructor and Description |
---|
IndexStats() |
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedTimestamp()
Date of index creation.
|
int |
getDocsCount()
Total number of entries in this index.
|
List<String> |
getForEntityName()
List of all entity names (collections) for which this index is working.
|
String |
getId()
Index identifier.
|
int |
getIndexingAttempts()
Indicates how many times database tried to index documents (map) using this index.
|
int |
getIndexingErrors()
Indicates how many indexing attempts failed.
|
Integer |
getIndexingLag()
Shows the difference between last document etag available in database and last indexed etag.
|
int |
getIndexingSuccesses()
Indicates how many indexing attempts succeeded.
|
String |
getIsOnRam()
Indicates if index is in-memory only.
|
Etag |
getLastIndexedEtag()
This value represents etag of last document indexed (using map) by this index.
|
Date |
getLastIndexedTimestamp()
Time of last indexing for this index.
|
Date |
getLastIndexingTime()
Time of last indexing (map or reduce) for this index.
|
Date |
getLastQueryTimestamp()
Time of last query for this index.
|
Etag |
getLastReducedEtag()
This value represents etag of last document indexed (using reduce) by this index.
|
Date |
getLastReducedTimestamp()
Time of last reduce for this index.
|
IndexLockMode |
getLockMode()
Indicates current lock mode:
- Unlock - all index definition changes acceptable
- LockedIgnore - all index definition changes will be ignored, only log entry will be created
- LockedError - all index definition changes will raise exception
|
String |
getName()
Index name.
|
IndexStats.IndexingPerformanceStats[] |
getPerformance()
Performance statistics for this index.
|
IndexStats.IndexingPriority |
getPriority()
Index priority (Normal, Disabled, Idle, Abandoned, Error)
|
Integer |
getReduceIndexingAttempts()
Indicates how many times database tried to index documents (reduce) using this index.
|
Integer |
getReduceIndexingErrors()
Indicates how many reducing attempts failed.
|
Integer |
getReduceIndexingSuccesses()
Indicates how many reducing attempts succeeded.
|
int |
getTouchCount() |
boolean |
isMapReduce()
Indicates if it is a MapReduce index.
|
boolean |
isTestIndex()
Indicates if this is a test index (works on a limited data set - for testing purposes only)
|
void |
setCreatedTimestamp(Date createdTimestamp)
Date of index creation.
|
void |
setDocsCount(int docsCount)
Total number of entries in this index.
|
void |
setForEntityName(List<String> forEntityName)
List of all entity names (collections) for which this index is working.
|
void |
setId(String id)
Index identifier.
|
void |
setIndexingAttempts(int indexingAttempts)
Indicates how many times database tried to index documents (map) using this index.
|
void |
setIndexingErrors(int indexingErrors)
Indicates how many indexing attempts failed.
|
void |
setIndexingLag(Integer indexingLag)
Shows the difference between last document etag available in database and last indexed etag.
|
void |
setIndexingSuccesses(int indexingSuccesses)
Indicates how many indexing attempts succeeded.
|
void |
setIsOnRam(String isOnRam)
Indicates if index is in-memory only.
|
void |
setLastIndexedEtag(Etag lastIndexedEtag)
This value represents etag of last document indexed (using map) by this index.
|
void |
setLastIndexedTimestamp(Date lastIndexedTimestamp)
Time of last indexing for this index.
|
void |
setLastIndexingTime(Date lastIndexingTime)
Time of last indexing (map or reduce) for this index.
|
void |
setLastQueryTimestamp(Date lastQueryTimestamp)
Time of last query for this index.
|
void |
setLastReducedEtag(Etag lastReducedEtag)
This value represents etag of last document indexed (using reduce) by this index.
|
void |
setLastReducedTimestamp(Date lastReducedTimestamp)
Time of last reduce for this index.
|
void |
setLockMode(IndexLockMode lockMode)
Indicates current lock mode:
- Unlock - all index definition changes acceptable
- LockedIgnore - all index definition changes will be ignored, only log entry will be created
- LockedError - all index definition changes will raise exception
|
void |
setMapReduce(boolean mapReduce)
Indicates if it is a MapReduce index.
|
void |
setName(String name)
Index name.
|
void |
setPerformance(IndexStats.IndexingPerformanceStats[] performance)
Performance statistics for this index.
|
void |
setPriority(IndexStats.IndexingPriority priority)
Index priority (Normal, Disabled, Idle, Abandoned, Error)
|
void |
setReduceIndexingAttempts(Integer reduceIndexingAttempts)
Indicates how many times database tried to index documents (reduce) using this index.
|
void |
setReduceIndexingErrors(Integer reduceIndexingErrors)
Indicates how many reducing attempts failed.
|
void |
setReduceIndexingSuccesses(Integer reduceIndexingSuccesses)
Indicates how many reducing attempts succeeded.
|
void |
setTestIndex(boolean testIndex)
Indicates if this is a test index (works on a limited data set - for testing purposes only)
|
void |
setTouchCount(int touchCount) |
String |
toString() |
public boolean isMapReduce()
public void setMapReduce(boolean mapReduce)
public List<String> getForEntityName()
public void setForEntityName(List<String> forEntityName)
forEntityName
- public int getDocsCount()
public void setDocsCount(int docsCount)
docsCount
- public String getName()
public Integer getIndexingLag()
public void setIndexingLag(Integer indexingLag)
indexingLag
- public void setName(String name)
name
- public String getId()
public void setId(String id)
id
- public int getIndexingAttempts()
public void setIndexingAttempts(int indexingAttempts)
indexingAttempts
- public int getIndexingSuccesses()
public void setIndexingSuccesses(int indexingSuccesses)
indexingSuccesses
- public int getIndexingErrors()
public void setIndexingErrors(int indexingErrors)
indexingErrors
- public Etag getLastIndexedEtag()
public void setLastIndexedEtag(Etag lastIndexedEtag)
lastIndexedEtag
- public Date getLastIndexedTimestamp()
public void setLastIndexedTimestamp(Date lastIndexedTimestamp)
lastIndexedTimestamp
- public Date getLastQueryTimestamp()
public void setLastQueryTimestamp(Date lastQueryTimestamp)
lastQueryTimestamp
- public int getTouchCount()
public void setTouchCount(int touchCount)
public IndexStats.IndexingPriority getPriority()
public void setPriority(IndexStats.IndexingPriority priority)
priority
- public Integer getReduceIndexingAttempts()
public void setReduceIndexingAttempts(Integer reduceIndexingAttempts)
reduceIndexingAttempts
- public Integer getReduceIndexingSuccesses()
public void setReduceIndexingSuccesses(Integer reduceIndexingSuccesses)
reduceIndexingSuccesses
- public Integer getReduceIndexingErrors()
public void setReduceIndexingErrors(Integer reduceIndexingErrors)
reduceIndexingErrors
- public Etag getLastReducedEtag()
public void setLastReducedEtag(Etag lastReducedEtag)
lastReducedEtag
- public Date getLastReducedTimestamp()
public void setLastReducedTimestamp(Date lastReducedTimestamp)
lastReducedTimestamp
- public Date getCreatedTimestamp()
public void setCreatedTimestamp(Date createdTimestamp)
createdTimestamp
- public Date getLastIndexingTime()
public void setLastIndexingTime(Date lastIndexingTime)
lastIndexingTime
- public String getIsOnRam()
public void setIsOnRam(String isOnRam)
isOnRam
- public IndexLockMode getLockMode()
public void setLockMode(IndexLockMode lockMode)
lockMode
- public IndexStats.IndexingPerformanceStats[] getPerformance()
public void setPerformance(IndexStats.IndexingPerformanceStats[] performance)
performance
- public boolean isTestIndex()
public void setTestIndex(boolean testIndex)
Copyright © 2016. All Rights Reserved.