public abstract class MetaDataFetcher extends Object
MetaDataGenerator
.
This class is abstract to provide different implementations on client and member sides.
Modifier and Type | Class and Description |
---|---|
protected static class |
MetaDataFetcher.ResultHolder |
Modifier and Type | Field and Description |
---|---|
protected static int |
ASYNC_RESULT_WAIT_TIMEOUT_MINUTES |
protected ILogger |
logger |
Constructor and Description |
---|
MetaDataFetcher(ILogger logger) |
protected static final int ASYNC_RESULT_WAIT_TIMEOUT_MINUTES
protected final ILogger logger
public MetaDataFetcher(ILogger logger)
protected abstract void extractAndPopulateResult(InternalCompletableFuture future, MetaDataFetcher.ResultHolder resultHolder) throws Exception
Exception
protected abstract List<InternalCompletableFuture> scanMembers(List<String> names)
public final void init(RepairingHandler handler) throws Exception
Exception
public final void process(InternalCompletableFuture future, ConcurrentMap<String,RepairingHandler> handlers)
public final void fetchMetadata(ConcurrentMap<String,RepairingHandler> handlers)
protected void repairUuids(Collection<Map.Entry<Integer,UUID>> uuids, ConcurrentMap<String,RepairingHandler> handlers)
protected void initUuid(Collection<Map.Entry<Integer,UUID>> uuids, RepairingHandler handler)
protected void repairSequences(Collection<Map.Entry<String,List<Map.Entry<Integer,Long>>>> namePartitionSequenceList, ConcurrentMap<String,RepairingHandler> handlers)
protected void initSequence(Collection<Map.Entry<String,List<Map.Entry<Integer,Long>>>> namePartitionSequenceList, RepairingHandler handler)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.