public class MapOperationProviders extends Object
MapOperationProvider
instances.
MapOperationProvider
instances created by this class will be wrapped by WANAwareOperationProvider
if WAN replication is enabled for the related map.Modifier and Type | Field and Description |
---|---|
protected MapOperationProvider |
defaultProvider |
protected MapServiceContext |
mapServiceContext |
protected MapOperationProvider |
wanAwareProvider |
Constructor and Description |
---|
MapOperationProviders(MapServiceContext mapServiceContext) |
Modifier and Type | Method and Description |
---|---|
MapOperationProvider |
getOperationProvider(String name)
Creates
MapOperationProvider instance and wraps it into a WANAwareOperationProvider |
protected final MapServiceContext mapServiceContext
protected final MapOperationProvider wanAwareProvider
protected final MapOperationProvider defaultProvider
public MapOperationProviders(MapServiceContext mapServiceContext)
public MapOperationProvider getOperationProvider(String name)
MapOperationProvider
instance and wraps it into a WANAwareOperationProvider
name
- Name of the requested IMap
DefaultMapOperationProvider
or WANAwareOperationProvider
depending on the WAN replication
config of the requested map instance.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.