Class ReIndexFinishedAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.internal.index.event.ReIndexFinishedAnalyticsEvent
-
@AsynchronousPreferred public class ReIndexFinishedAnalyticsEvent extends Object
- Since:
- 7.7.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getChangeIndexSize()
long
getContentIndexSize()
@Nullable String
getId()
long
getIndexingTime()
SearchPlatform
getSearchPlatform()
int
getTotalNodes()
int
hashCode()
static ReIndexFinishedAnalyticsEvent
newIndexRecoveryReIndexFinishedEvent(long contentIndexSize, long changeIndexSize, SearchPlatform searchPlatform)
static ReIndexFinishedAnalyticsEvent
newPropagationReIndexFinishedEvent(String indexingId, long indexingTime, int totalNodes, long contentIndexSize, long changeIndexSize, SearchPlatform searchPlatform)
-
-
-
Method Detail
-
newIndexRecoveryReIndexFinishedEvent
public static ReIndexFinishedAnalyticsEvent newIndexRecoveryReIndexFinishedEvent(long contentIndexSize, long changeIndexSize, SearchPlatform searchPlatform)
-
newPropagationReIndexFinishedEvent
public static ReIndexFinishedAnalyticsEvent newPropagationReIndexFinishedEvent(String indexingId, long indexingTime, int totalNodes, long contentIndexSize, long changeIndexSize, SearchPlatform searchPlatform)
-
getId
public @Nullable String getId()
-
getIndexingTime
public long getIndexingTime()
- Returns:
- time to finish rebuilding index, in seconds.
-
getTotalNodes
public int getTotalNodes()
-
getContentIndexSize
public long getContentIndexSize()
- Returns:
- total size of the content index, in Megabytes
-
getChangeIndexSize
public long getChangeIndexSize()
- Returns:
- total size of the change index, in Megabytes
-
getSearchPlatform
public SearchPlatform getSearchPlatform()
- Returns:
- the current search platform
-
-