mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Fix for ACE-4089 SOLR 4 - sharded - Remove the requirement for shard configuration on the Alfresco One Platform
- vanilla support - currently not enterprise only and does not support slave shards git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.repo.domain.node.Node;
|
||||
import org.alfresco.repo.index.shard.ShardRegistry;
|
||||
import org.alfresco.repo.index.shard.ShardState;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
/**
|
||||
@@ -166,4 +168,17 @@ public interface SOLRTrackingComponent
|
||||
* @return Long
|
||||
*/
|
||||
public Long getMaxChangeSetId();
|
||||
|
||||
/**
|
||||
* Register and update a shard state
|
||||
* @param shardState
|
||||
*/
|
||||
public void registerShardState(ShardState shardState);
|
||||
|
||||
/**
|
||||
* Get the shard registry
|
||||
* @return the shard registry or null if one is not registered.
|
||||
* This is an optional feature.
|
||||
*/
|
||||
public ShardRegistry getShardRegistry();
|
||||
}
|
||||
|
Reference in New Issue
Block a user