public abstract class MetaDataFetcher extends Object
MetaDataGenerator.
 This class is abstract to provide different implementations on client and member sides.
| Constructor and Description | 
|---|
| MetaDataFetcher(ILogger logger) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract List<Object> | assignAndGetUuids()Gets or assigns partition-uuids before start of  RepairingTaskand returns a list of partition-id,
 partition-uuid pairs. | 
| void | fetchMetadata(ConcurrentMap<String,RepairingHandler> handlers) | 
| protected abstract void | process(InternalCompletableFuture future,
       ConcurrentMap<String,RepairingHandler> handlers) | 
| protected void | repairSequences(List<Object> namePartitionSequenceList,
               ConcurrentMap<String,RepairingHandler> handlers) | 
| protected void | repairUuids(List<Object> uuids,
           ConcurrentMap<String,RepairingHandler> handlers) | 
| protected abstract List<InternalCompletableFuture> | scanMembers(List<String> names) | 
protected final ILogger logger
public MetaDataFetcher(ILogger logger)
protected abstract List<InternalCompletableFuture> scanMembers(List<String> names)
protected abstract void process(InternalCompletableFuture future, ConcurrentMap<String,RepairingHandler> handlers)
protected abstract List<Object> assignAndGetUuids() throws Exception
RepairingTask and returns a list of partition-id,
 partition-uuid pairs.
 This method is likely to be called only one time during the life-cycle of a client.
Exception - possible exceptions raised by remote callspublic final void fetchMetadata(ConcurrentMap<String,RepairingHandler> handlers)
protected void repairUuids(List<Object> uuids, ConcurrentMap<String,RepairingHandler> handlers)
protected void repairSequences(List<Object> namePartitionSequenceList, ConcurrentMap<String,RepairingHandler> handlers)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.