public static class IndexFetcher.IndexFetchResult extends Object
Modifier and Type | Field and Description |
---|---|
static IndexFetcher.IndexFetchResult |
ALREADY_IN_SYNC
pre-defined results
|
static IndexFetcher.IndexFetchResult |
CONTAINER_IS_SHUTTING_DOWN |
static IndexFetcher.IndexFetchResult |
EXPECTING_NON_LEADER |
static String |
FAILED_BY_EXCEPTION_MESSAGE |
static String |
FAILED_BY_INTERRUPT_MESSAGE |
static IndexFetcher.IndexFetchResult |
INDEX_FETCH_FAILURE |
static IndexFetcher.IndexFetchResult |
INDEX_FETCH_SUCCESS |
static IndexFetcher.IndexFetchResult |
LEADER_IS_NOT_ACTIVE |
static IndexFetcher.IndexFetchResult |
LOCAL_ACTIVITY_DURING_REPLICATION |
static IndexFetcher.IndexFetchResult |
LOCK_OBTAIN_FAILED |
static IndexFetcher.IndexFetchResult |
MASTER_VERSION_ZERO |
static IndexFetcher.IndexFetchResult |
NO_INDEX_COMMIT_EXIST |
static IndexFetcher.IndexFetchResult |
PEER_INDEX_COMMIT_DELETED |
Modifier and Type | Method and Description |
---|---|
Throwable |
getException() |
String |
getMessage() |
boolean |
getSuccessful() |
public static final String FAILED_BY_INTERRUPT_MESSAGE
public static final String FAILED_BY_EXCEPTION_MESSAGE
public static final IndexFetcher.IndexFetchResult ALREADY_IN_SYNC
public static final IndexFetcher.IndexFetchResult INDEX_FETCH_FAILURE
public static final IndexFetcher.IndexFetchResult INDEX_FETCH_SUCCESS
public static final IndexFetcher.IndexFetchResult LOCK_OBTAIN_FAILED
public static final IndexFetcher.IndexFetchResult CONTAINER_IS_SHUTTING_DOWN
public static final IndexFetcher.IndexFetchResult MASTER_VERSION_ZERO
public static final IndexFetcher.IndexFetchResult NO_INDEX_COMMIT_EXIST
public static final IndexFetcher.IndexFetchResult PEER_INDEX_COMMIT_DELETED
public static final IndexFetcher.IndexFetchResult LOCAL_ACTIVITY_DURING_REPLICATION
public static final IndexFetcher.IndexFetchResult EXPECTING_NON_LEADER
public static final IndexFetcher.IndexFetchResult LEADER_IS_NOT_ACTIVE
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.