Class PutFollowCCRRequest
java.lang.Object
com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
com.liferay.portal.search.engine.adapter.ccr.PutFollowCCRRequest
- All Implemented Interfaces:
CCRRequest<PutFollowCCRResponse>
public class PutFollowCCRRequest
extends CrossClusterRequest
implements CCRRequest<PutFollowCCRResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionPutFollowCCRRequest
(String remoteClusterAlias, String leaderIndexName, String followerIndexName) -
Method Summary
Modifier and TypeMethodDescriptionaccept
(CCRRequestExecutor ccrRequestExecutor) int
void
setWaitForActiveShards
(int waitForActiveShards) Methods inherited from class com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
getConnectionId, isPreferLocalCluster, setConnectionId, setPreferLocalCluster
-
Constructor Details
-
PutFollowCCRRequest
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceCCRRequest<PutFollowCCRResponse>
-
getFollowerIndexName
-
getLeaderIndexName
-
getRemoteClusterAlias
-
getWaitForActiveShards
public int getWaitForActiveShards() -
setWaitForActiveShards
public void setWaitForActiveShards(int waitForActiveShards)
-