public class ShardStateBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ShardStateBuilderBase.FlocBuilderBase<GeneratorT extends ShardStateBuilderBase.FlocBuilderBase<GeneratorT>> |
static class |
ShardStateBuilderBase.ShardBuilderBase<GeneratorT extends ShardStateBuilderBase.ShardBuilderBase<GeneratorT>> |
static class |
ShardStateBuilderBase.ShardInstanceBuilderBase<GeneratorT extends ShardStateBuilderBase.ShardInstanceBuilderBase<GeneratorT>> |
Constructor and Description |
---|
ShardStateBuilder() |
Modifier and Type | Method and Description |
---|---|
ShardState |
build() |
protected ShardState |
getInstance() |
static ShardStateBuilder |
shardState() |
GeneratorT |
withLastIndexedChangeSetCommitTime(long aValue) |
GeneratorT |
withLastIndexedChangeSetId(long aValue) |
GeneratorT |
withLastIndexedTxCommitTime(long aValue) |
GeneratorT |
withLastIndexedTxId(long aValue) |
GeneratorT |
withLastUpdated(long aValue) |
GeneratorT |
withMaster(boolean aValue) |
GeneratorT |
withPropertyBag(HashMap<String,String> aValue) |
org.alfresco.repo.index.shard.ShardStateBuilderBase.ShardInstanceShardInstanceBuilder |
withShardInstance() |
GeneratorT |
withShardInstance(ShardInstance aValue) |
public static ShardStateBuilder shardState()
public ShardState build()
protected ShardState getInstance()
public GeneratorT withShardInstance(ShardInstance aValue)
public org.alfresco.repo.index.shard.ShardStateBuilderBase.ShardInstanceShardInstanceBuilder withShardInstance()
public GeneratorT withMaster(boolean aValue)
public GeneratorT withLastUpdated(long aValue)
public GeneratorT withLastIndexedChangeSetId(long aValue)
public GeneratorT withLastIndexedTxCommitTime(long aValue)
public GeneratorT withLastIndexedTxId(long aValue)
public GeneratorT withLastIndexedChangeSetCommitTime(long aValue)
Copyright © 2005–2020 Alfresco Software. All rights reserved.