public abstract class InvalidationMetaDataFetcher 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 |
InvalidationMetaDataFetcher.MetadataHolder |
Modifier and Type | Field and Description |
---|---|
protected static int |
ASYNC_RESULT_WAIT_TIMEOUT_MINUTES |
protected ILogger |
logger |
Constructor and Description |
---|
InvalidationMetaDataFetcher(ILogger logger) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
extractMemberMetadata(Member member,
InternalCompletableFuture future,
InvalidationMetaDataFetcher.MetadataHolder metadataHolder) |
void |
fetchMetadata(ConcurrentMap<String,RepairingHandler> handlers) |
protected abstract InternalCompletableFuture |
fetchMetadataOf(Address address,
List<String> names) |
protected abstract Collection<Member> |
getDataMembers() |
protected void |
handleExceptionWhileProcessingMetadata(Member member,
Exception e) |
void |
init(RepairingHandler handler) |
protected static final int ASYNC_RESULT_WAIT_TIMEOUT_MINUTES
protected final ILogger logger
public InvalidationMetaDataFetcher(ILogger logger)
public final void init(RepairingHandler handler) throws Exception
Exception
public final void fetchMetadata(ConcurrentMap<String,RepairingHandler> handlers)
protected abstract Collection<Member> getDataMembers()
protected abstract void extractMemberMetadata(Member member, InternalCompletableFuture future, InvalidationMetaDataFetcher.MetadataHolder metadataHolder) throws Exception
Exception
protected abstract InternalCompletableFuture fetchMetadataOf(Address address, List<String> names)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.