Deprecated API
Contents
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionsince 11.0, please implement
ReplicableCommand#invokeAsync(ComponentRegistry)
insteadsince 10.1.3. UseStatisticsConfiguration
instead. This will be removed in next major version.since 11.0 (no longer used).Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.UseMBeanServerLookup
insteadsince 10.0since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 11.0 replaced byNonBlockingStore
since 11.0 replaced byNonBlockingStore
since 11.0, this will be removed in the next major version with no direct replacement.since 14.0. To be removed in 17.0. UseAuthorizationMapperContext
insteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStats
orClusterCacheStats
instead.since 11.0. UseCustomFailurePolicy
instead.
-
Deprecated ClassesClassDescriptionsince 11.0, class will be removed with no direct replacement. BaseRpcCommand should be extended instead.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorssince 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsSince 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsSince 10.0, custom interceptors support will be removed and only modules will be able to define interceptorssince 10.1.3. Use
StatisticsConfigurationBuilder
instead. This will be removed in next major version.Since 11.0,MemoryConfiguration
is used to defined the data container memory eviction and sizing.since 11.0, useMemoryConfigurationBuilder
instead.since 10.1.3 UseGlobalJmxConfiguration
instead. This will be removed in next major version.since 10.1.3. UseGlobalJmxConfigurationBuilder
instead. This will be removed in next major version.since 11.0. UseTransport.localSiteName()
since 11.0. The local site name is fetched viaTransport.localSiteName()
since 12.0. UseAllowListConfigurationBuilder
through @SerializationConfigurationBuilder.allowList()
. Will be removed in 14.0.Since 9.4, please useBasicComponentRegistry
instead.Since 9.4, please implementAnyScopeComponentFactory.construct(String)
directly.since 10.0since 10.0since 10.0since 10.0since 10.0since 10.0since 10.0 requires jboss-marshalling-osgi artifact to be provided at runtime.since 10.0since 10.0since 10.0since 10.0since 10.0UsePlatformMBeanServerLookup
insteadsince 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.Since 9.1, please implementTransport
directly.useClusterRoleMapper
instead. This class will be removed in Infinispan 14.0useCommonNameRoleMapper
insteaduseIdentityRoleMapper
insteaduseLoggingAuditLogger
insteaduseNullAuditLogger
insteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStats
orClusterCacheStats
instead.Users should useRemovableCloseableIterator
insteadUsers should useRemovableIterator
insteadSince 10.0, without replacement. To be removed very soon.Since 10.0. This will be removed in next major version.UseVersion
instead
-
Deprecated EnumsEnumDescriptionsince 11.0. The indexing mode is automatically detected and not configurable anymore (ignored) and will be completely removed in next major version.Since 11.0. Will be removed in 14.0, no longer used.Since 11.0,
MemoryConfiguration.maxCount()
andMemoryConfiguration.maxSize()
should be used to differentiate between the eviction thresholds.
-
Deprecated ExceptionsExceptionsDescriptionsince 10.1 please use
IllegalLifecycleStateException
instead
-
Deprecated FieldsFieldDescriptionsince 11.0since 11.0Since 13.0, will be removed in 16.0Since 9.4, use
Version.getVersionShort()
instead.Since 11.0. To be removed in 14.0, with no replacement.Since 11.0. To be removed in 14.0, with no replacement.Since 11.0. To be removed in 14.0. For internal use only.Since 11.0. To be removed in 14.0. For internal use only.
-
Deprecated MethodsMethodDescriptionSince 10.0, will be removed without a replacementSince 10.0, with no public API replacementSince 10.1, will be removed without a replacementSince 9.4, unmarshalling always uses the classloader from the global configuration.Since 12.1, to be removed in a future version.Since 12.1, to be removed in a future version.Since 12.1, to be removed in a future version.Use
AdvancedCache.withMediaType(MediaType, MediaType)
instead.Since 11.0. To be removed in 14.0, with no replacement.Since 11.0. To be removed in 14.0, with no replacement.since 9.3 This is to be replaced byBaseCacheStream.filterKeySegments(IntSet)
This method requires boxing for each segment. Please useBaseCacheStream.SegmentCompletionListener.accept(Supplier)
insteadSince 10.0, will be removed without a replacementSince 10.0, will be removed without a replacementSince 10.0, will be removed without a replacementThis is to be replaced byCacheStream.filterKeySegments(IntSet)
since 11.0 useCommandsFactory.buildSingleRpcCommand(VisitableCommand)
instead.since 11.0, please useCacheRpcCommand.invokeAsync(ComponentRegistry)
orGlobalRpcCommand.invokeAsync(GlobalComponentRegistry)
instead. to access any components required at invocation time.Since 9.0, please useFlagAffectedCommand.addFlags(long)
with aFlagBitSets
constant instead.Since 9.0, please useFlagAffectedCommand.addFlags(long)
with aFlagBitSets
constant instead.Since 9.0, please useFlagAffectedCommand.hasAnyFlag(long)
with aFlagBitSets
constant instead.Since 9.0, please useFlagAffectedCommand.setFlagsBitSet(long)
instead.since 11.0 - All commands will be required to be non blocking!since 11.0, please useCacheRpcCommand.invokeAsync(ComponentRegistry)
orGlobalRpcCommand.invokeAsync(GlobalComponentRegistry)
instead.since 11.0, please useCacheRpcCommand.invokeAsync(ComponentRegistry)
orGlobalRpcCommand.invokeAsync(GlobalComponentRegistry)
instead.since 11.0 will be removed in the next major version with no direct replacement. There is no reason that a unknown command should be passed through the interceptor chain.Since 9.0, no longer used.since 9.1since 10.0 - please implementAbstractSegmentedStoreConfiguration.newConfigurationFrom(int, InitializationContext)
.since 14.0. Always returns false. The first non shared store is used instead.Deprecated since 14.0. There is no replacement. First non shared store is picked instead.since 11.0 with no replacement as the thread pool is no longer usedsince 11.0 with no replacement as the thread pool is no longer usedSince 14.0. To be removed without replacement.Since 14.0. To be removed without replacementSince 14.0. To be removed without replacement.Use a named cache withBackupForBuilder.remoteCache(String)
instead.Since 14.0, will be removed in 16.0.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorssince 10.1.3 useConfiguration.statistics()
instead. This will be removed in next major version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsSince 10.0, custom interceptors support will be removed and only modules will be able to define interceptorssince 10.1.3 useConfigurationChildBuilder.statistics()
instead. This will be removed in next major version.since 14.0. Returns true if the store is not shared.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsSince 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.UseIndexingConfiguration.enabled()
} insteadin 10.1. Equivalent to a simple equality comparison toIndex.PRIMARY_OWNER
.Since 11.0, with no replacement.Since 11. This configuration will be removed in next major version as the index mode is calculated automatically.since 11. Usages should be converted toIndexingConfiguration.indexedEntityTypes()
as this method will be removed in next major version.Since 11.0 with no replacement; to be removed in next major version.Since 12.0, indexing behaviour is defined byIndexingConfiguration.writer()
andIndexingConfiguration.reader()
.Since 12.0, please useIndexingConfigurationBuilder.writer()
andIndexingConfigurationBuilder.reader()
to define indexing behavior.Since 11.0, with no replacement.Since 11.0 with no replacement.Since 11.0. This configuration will be removed in next major version as the index mode is calculated automatically.Since 12.0, pleaseIndexingConfigurationBuilder.writer()
andIndexingConfigurationBuilder.reader()
to define indexing behavior.Since 12.0, pleaseIndexingConfigurationBuilder.writer()
andIndexingConfigurationBuilder.reader()
to define indexing behavior.since 10.1.3. This method will be removed in a future version.since 10.1.3. This method will be removed in a future version.Since 11.0, useMemoryConfiguration.whenFull()
Since 11.0, useMemoryConfiguration.maxCount()
orMemoryConfiguration.maxSize()
to obtain either the maximum number of entries or the maximum size of the data container.Since 11.0, useMemoryConfiguration.maxCount()
orMemoryConfiguration.maxSize()
to obtain either the maximum number of entries or the maximum size of the data container.Since 11.0, useMemoryConfiguration.maxCount(long)
orMemoryConfiguration.maxSize(String)
to dynamically configure the maximum number of entries or the maximum size of the data container.UseMemoryConfiguration.storage()
instead.Since 11.0, useMemoryConfigurationBuilder.whenFull()
instead.Since 11.0, useMemoryConfigurationBuilder.whenFull(EvictionStrategy)
instead.since 11.0, @seeMemoryConfigurationBuilder.evictionType(EvictionType)
since 11.0, useMemoryConfigurationBuilder.maxCount(long)
orMemoryConfigurationBuilder.maxSize(String)
to define data container bounds by size or by count.Since 11.0, use eitherMemoryConfigurationBuilder.maxSize()
orMemoryConfigurationBuilder.maxCount()
.Since 11.0, useMemoryConfigurationBuilder.maxSize(String)
to define the size in bytes orMemoryConfigurationBuilder.maxCount(long)
to define the number of entries.Since 11.0, useMemoryConfigurationBuilder.storage()
instead.Since 11.0, useMemoryConfigurationBuilder.storage(StorageType)
instead.since 14.0. This will always return falsesince 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 13.0. To be removed in 14.0 has been replaced byPersistenceConfigurationBuilder.addSoftIndexFileStore()
Since 13.0, will be removed in 16.0.Since 13.0, will be removed in 16.0since 14.0. To be removed without replacement.Since 14.0. To be removed without replacement. UseSitesConfiguration.allBackups()
orSitesConfiguration.allBackupsStream()
.Since 14.0. To be removed without replacement. UseSitesConfiguration.allBackups()
orSitesConfiguration.allBackupsStream()
.since 14.0. To be removed without replacement. UseSitesConfiguration.hasBackups()
instead.since 14.0. To be removed without replacementsince 14.0. To be removed without replacement.Since 14.0. To be removed without replacement.Since 14.0. To be removed without replacement.Since 12.1, the attribute was never writablesince 10.1.3. This method will be removed in a future version.since 10.1.3. This method will be removed in a future version.since 14.0. This method does nothing. Only the first non shared store that supports publishEntries is used for state transfer.org.infinispan.configuration.global.CacheContainerConfigurationBuilder.stateTransferExecutor(String) Since 10.1, no longer used.Since 10.1, no longer used.Since 10.1.3. UseCacheContainerConfigurationBuilder.statistics(boolean)
instead.Since 11.0, no longer used.Since 11.0, no longer used.Since 10.1.3. UseGlobalConfiguration.jmx()
instead. This will be removed in next major version.Since 11.0, no longer used.Since 11.0, no longer used.Since 10.1, no longer used.Since 10.1, no longer used.Since 10.1, no longer used.Since 10.1.3. UseGlobalConfigurationChildBuilder.jmx()
instead. This will be removed in next major version.Since 10.1. please useGlobalConfiguration.cacheManagerName()
instead.Since 10.1. please useGlobalConfiguration.cacheManagerName()
instead.org.infinispan.configuration.global.GlobalJmxStatisticsConfigurationBuilder.cacheManagerName(String) Since 10.1.3, please useGlobalJmxStatisticsConfigurationBuilder.domain(String)
instead.since 10.0,AdvancedExternalizer
's will be removed in a future release.since 10.0,AdvancedExternalizer
's will be removed in a future release. Please utilise ProtoStream annotations on Java objects instead by configuring aSerializationContextInitializer
viaSerializationConfigurationBuilder.addContextInitializer(SerializationContextInitializer)
, or specifying a custom marshaller for user types viaSerializationConfigurationBuilder.marshaller(Marshaller)
.since 10.0,AdvancedExternalizer
's will be removed in a future release. Please utilise ProtoStream annotations on Java objects instead by configuring aSerializationContextInitializer
viaSerializationConfigurationBuilder.addContextInitializer(SerializationContextInitializer)
, or specifying a custom marshaller for user types viaSerializationConfigurationBuilder.marshaller(Marshaller)
.since 10.0,AdvancedExternalizer
's will be removed in a future release. Please utilise ProtoStream annotations on Java objects instead by configuring aSerializationContextInitializer
viaSerializationConfigurationBuilder.addContextInitializer(SerializationContextInitializer)
, or specifying a custom marshaller for user types viaSerializationConfigurationBuilder.marshaller(Marshaller)
.since 12.0. UseSerializationConfigurationBuilder.allowList()
instead. To be removed in 14.0.Since 10.1, no longer used.Since 11.0, no longer used.Since 10.1, no longer used.Since 11.0, no longer used.since 10.1 - Please useDataContainer.peek(Object)
instead.since 10.1since 10.1Since 11, to be removed in 14 with no replacementsince 11.0. hashFunction is ignored, useConsistentHashFactory.create(int, int, List, Map)
instead.Since 11.0, to be removed in 14.0. Please useDistributionManager.getCacheTopology()
instead.Since 11.0, to be removed in 14.0. Please useDistributionManager.getCacheTopology()
instead.Internal only.Since 9.1since 9.3 please useLocalizedCacheTopology.getSegmentDistribution(int)
instead.Since 11.0, with no replacement.Since 11.0, with no replacement.Since 11.0. To be removed in 14.0, with no replacement.Since 11.0. To be removed in 14.0, with no replacement.Since 11.0, with no replacement.Since 11.0. To be removed in 14.0. Replaced byDataConversion.newKeyDataConversion()
.Since 11.0. To be removed in 14.0. Replaced byDataConversion.newValueDataConversion()
.Since 11.0, will be removed with no replacementSince 12.1, to be removed in a future version.Since 11.0. To be removed in 14.0, with no replacement.Since 9.4, not usedSince 9.4, please overrideComponentFactory.construct(String)
instead.Since 9.4, not used.since 12.0, useLocalConfigurationStorage.loadAllCaches()
insteaduseCacheMgmtInterceptor.getTimeSinceStart()
instead.This is to be replaced byLockedStream.filterKeySegments(IntSet)
Since 10.0, with no public API replacementSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance.Since 10.0, please useEmbeddedCacheManager.getAddress()
,EmbeddedCacheManager.getMembers()
,EmbeddedCacheManager.getCoordinator()
Since 9.2, obtain aCacheContainerAdmin
instance usingEmbeddedCacheManager.administration()
and invoke theCacheContainerAdmin.removeCache(String)
methodSince 11.0. To be removed in 14.0, withDataConversion.getWrapper()
Since 11.0. To be removed in 14.0, withDataConversion.getWrapper()
Since 9.0Since 12.0, will be removed in 15.0Since 10.0, with no replacementThis method is only public for use with prior Store classes, usePersistenceUtil.storeFromConfiguration(StoreConfiguration)
when dealing withNonBlockingStore
instancessince 10.0, useMarshallingTwoWayKey2StringMapper.setMarshaller(Marshaller)
insteadsince 9.4 This method references PersistenceManager, which isn't a public classsince 9.4 This method references PersistenceManager, which isn't a public classsince 9.4 This method references PersistenceManager, which isn't a public classsince 9.4 This method references PersistenceManager, which isn't a public classsince 11.0 - Please useInitializationContext.getBlockingManager()
()} orInitializationContext.getNonBlockingExecutor()
insteadWe already have an attribute, we shouldn't have an operation for the same thing.since 10.0. UseTransport.backupRemotely(XSiteBackup, XSiteReplicateCommand)
instead.Total order support droppedIntroduced in 9.1, but replaced in 9.2 withTransport.invokeCommands(Collection, Function, ResponseCollector, DeliverOrder, long, TimeUnit)
.Since 9.2, please useTransport.invokeCommand(Collection, ReplicableCommand, ResponseCollector, DeliverOrder, long, TimeUnit)
instead.Since 9.2, please useTransport.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)
instead.Since 9.0, please useTransport.withView(int)
instead.Since 10.0, will be removed without a replacementSince 14.0. To be removed without replacement.since 10.0; to be removed in next major versionSince 14.0, please useStats.getAverageWriteTimeNanos()
instead.Since 14.0, please useStats.getAverageReadTimeNanos()
instead.Since 14.0, please useStats.getApproximateEntries()
orStats.getApproximateEntriesUnique()
instead.Since 14.0, please useStats.getApproximateEntriesInMemory()
instead.Since 13.0, please useStats.getStores()
insteadsince 14.0. To be removed without replacement.since 11.0 Please useCloseables.iterator(Publisher, int)
instead.Since 10.0, the blocking variants will be removedSince 10.0, the blocking variants will be removed
-
Deprecated ConstructorsConstructorDescriptionSince 11.0, please use
DefaultCacheManager(ConfigurationBuilderHolder, boolean)
instead.Since 11.0, please useDefaultCacheManager(ConfigurationBuilderHolder, boolean)
instead.Since 11.0, please useDefaultCacheManager(ConfigurationBuilderHolder, boolean)
instead.Since 11.0, please useDefaultCacheManager(ConfigurationBuilderHolder, boolean)
instead.Since 10.0, the explicit topology is ignored and the delta is set to 1Since 10.0, please use the constants
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 14.0, will be removed in 16.0. Please use
CacheMode.DIST_SYNC
instead.This mode is no longer supported since version 11.0. A configuration error will be raised if encountered.since 11.0, with no replacement. UseStorageType.HEAP
and the cache'sEncodingConfiguration
to define aMediaType
that is byte[] or primitive based.since 11.0, useStorageType.HEAP
instead.Since 10.0, not in use.Since 10.0, not in use.Since 14.0, no longer does anything. Will be removed in 17.0.