Giriş
Şu satırı dahil ederiz
import com.hazelcast.map.impl.MapContainer;
Sınıfın alanlar şöyle
public class MapContainer { protected final String name; protected final String splitBrainProtectionName; // on-heap indexes are global, meaning there is only one index per map, // stored in the mapContainer, so if globalIndexes is null it means that // global index is not in use protected final Indexes globalIndexes; protected final Extractors extractors; protected final MapStoreContext mapStoreContext; protected final ObjectNamespace objectNamespace; protected final MapServiceContext mapServiceContext; protected final QueryEntryFactory queryEntryFactory; protected final EventJournalConfig eventJournalConfig; protected final PartitioningStrategy partitioningStrategy; protected final InternalSerializationService serializationService; protected final Function<Object, Data> toDataFunction = new ObjectToData(); protected final InterceptorRegistry interceptorRegistry = new InterceptorRegistry(); protected final ConstructorFunction<RecordFactoryAttributes,
RecordFactory> recordFactoryConstructor; //Holds number of registered {@link InvalidationListener} from clients. protected final AtomicInteger invalidationListenerCounter; protected final AtomicLong lastInvalidMergePolicyCheckTime = new AtomicLong(); protected SplitBrainMergePolicy wanMergePolicy; protected DelegatingWanScheme wanReplicationDelegate; protected volatile MapConfig mapConfig; private volatile Evictor evictor; private boolean persistWanReplicatedData; private volatile boolean destroyed; ... }
Buradaki alanlardan birisi MapStoreContext mapStoreContext; Bu IMap ile ilgili MapStore nesnesini temsil eder.
Hiç yorum yok:
Yorum Gönder