|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.conquiris.api.index.IndexReport
@Immutable public final class IndexReport
Conquiris index report.
| Field Summary |
|---|
| Fields inherited from interface net.conquiris.api.index.IndexStatusProperty |
|---|
INDEX_STATUS |
| Fields inherited from interface net.conquiris.api.index.IndexStartedFlag |
|---|
INDEX_STARTED |
| Fields inherited from interface net.conquiris.api.index.IndexActiveFlag |
|---|
INDEX_ACTIVE |
| Method Summary | |
|---|---|
static IndexReport |
basic(boolean started,
boolean active,
IndexStatus status)
Creates a new basic report. |
static IndexReport |
detailed(boolean started,
boolean active,
IndexStatus status,
Delays delays,
IndexInfo info)
Creates a new detailed report. |
boolean |
equals(Object obj)
|
Optional<Delays> |
getDelays()
Returns the index delay configuration. |
IndexStatus |
getIndexStatus()
Returns the last known index status. |
Optional<IndexInfo> |
getInfo()
Return the index info. |
IndexReportLevel |
getLevel()
Returns the report level. |
int |
hashCode()
|
boolean |
isIndexActive()
Returns true if and only if the service is started and the current policy is to keep the index active. |
boolean |
isIndexStarted()
Returns true if and only if the service is started. |
static IndexReport |
normal(boolean started,
boolean active,
IndexStatus status,
Delays delays,
IndexInfo info)
Creates a new normal report. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static IndexReport basic(boolean started,
boolean active,
IndexStatus status)
started - Whether the index is started.active - Whether the index is active. If started is false it will be set to false.status - Last known index status.
public static IndexReport normal(boolean started,
boolean active,
IndexStatus status,
Delays delays,
IndexInfo info)
started - Whether the index is started.active - Whether the index is active. If started is false it will be set to false.status - Last known index status.delays - Index delay configuration.info - Index info.
public static IndexReport detailed(boolean started,
boolean active,
IndexStatus status,
Delays delays,
IndexInfo info)
started - Whether the index is started.active - Whether the index is active. If started is false it will be set to false.status - Last known index status.delays - Index delay configuration.info - Index info.
public IndexReportLevel getLevel()
public IndexStatus getIndexStatus()
IndexStatusProperty
getIndexStatus in interface IndexStatusPropertypublic boolean isIndexStarted()
IndexStartedFlag
isIndexStarted in interface IndexStartedFlagpublic boolean isIndexActive()
IndexActiveFlag
isIndexActive in interface IndexActiveFlagpublic Optional<Delays> getDelays()
public Optional<IndexInfo> getInfo()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||