Package org.nuxeo.elasticsearch.core
Class ReindexingMessage
java.lang.Object
org.nuxeo.elasticsearch.core.ReindexingMessage
- All Implemented Interfaces:
Serializable
,SerializableMessage
- Since:
- 2021.12
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReindexingMessage
(String repository, String indexName, String otherIndex, ReindexingState state) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReindexingMessage
boolean
int
hashCode()
void
serialize
(OutputStream out) Serializes this to an output stream.toString()
protected static String
-
Field Details
-
repository
-
indexName
-
otherIndex
-
state
-
SEP
- See Also:
-
NUL
- See Also:
-
-
Constructor Details
-
ReindexingMessage
public ReindexingMessage(String repository, String indexName, String otherIndex, ReindexingState state) - Parameters:
repository
- being re-indexedindexName
- the name of the search indexotherIndex
- the name of the second write index, or new index depending on the statestate
- the state of the reindexing
-
-
Method Details
-
serialize
Description copied from interface:SerializableMessage
Serializes this to an output stream. The deserialization is handled byAbstractPubSubBroker.deserialize(java.io.InputStream)
.- Specified by:
serialize
in interfaceSerializableMessage
- Throws:
IOException
-
deserialize
- Throws:
IOException
-
valueOf
-
toString
-
equals
-
hashCode
public int hashCode()
-