Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionSince 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.This method requires boxing for each segment. Please useBaseCacheStream.SegmentCompletionListener.accept(Supplier)insteadsince 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 11.0, please implementinsteadinvalid reference
ReplicableCommand#invokeAsync(ComponentRegistry)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 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 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 14.0. Returns true if the store is not shared.Since 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.Since 11.0 with no replacement; to be removed in next major version.useLockingConfiguration.lockIsolationLevel()insteadwith no replacementSince 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 11.0,MemoryConfigurationis used to defined the data container memory eviction and sizing.since 11.0, useMemoryConfigurationBuilderinstead.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 16.0 has been replaced byPersistenceConfigurationBuilder.addSoftIndexFileStore()Since 13.0, will be removed in 16.0Since 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 11.0, with no replacement. UseStorageType.HEAPand the cache'sEncodingConfigurationto define aMediaTypethat is byte[] or primitive based.since 11.0, useStorageType.HEAPinstead.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.3. UseCacheContainerConfigurationBuilder.statistics(boolean)instead.Since 11.0, no longer used.Since 11.0, no longer used.Since 11.0, no longer used.Since 11.0, no longer used.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 11.0. UseTransport.localSiteName()since 11.0. The local site name is fetched viaTransport.localSiteName()Since 11.0, no longer used.since 12.0. UseAllowListConfigurationBuilderthrough @SerializationConfigurationBuilder.allowList(). Will be removed in 14.0.since 10.1 - Please useDataContainer.peek(Object)instead.since 11.0 (no longer used).since 10.1since 10.1Since 14.0, no longer does anything. Will be removed in 17.0.Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.since 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 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. 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.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 11.0,MemoryConfiguration.maxCount()andMemoryConfiguration.maxSize()should be used to differentiate between the eviction thresholds.Since 9.4, please useBasicComponentRegistryinstead.since 12.0, useLocalConfigurationStorage.loadAllCaches()insteadSince 11.0, please useDefaultCacheManager(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.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance.Since 11.0. To be removed in 14.0, withDataConversion.getWrapper()Since 11.0. To be removed in 14.0, withDataConversion.getWrapper()since 10.0Since 12.0, will be removed in 15.0since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 10.0, useMarshallingTwoWayKey2StringMapper.setMarshaller(Marshaller)insteadsince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 - Please useInitializationContext.getBlockingManager()()} orInitializationContext.getNonBlockingExecutor()insteadsince 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0, this will be removed in the next major version with no direct replacement.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.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)instead.useClusterRoleMapperinstead. This class will be removed in Infinispan 14.0useIdentityRoleMapperinsteaduseLoggingAuditLoggerinsteaduseNullAuditLoggerinsteadsince 14.0. To be removed in 17.0. UseAuthorizationMapperContextinsteadSince 10.0, the explicit topology is ignored and the delta is set to 1Since 10.0, please use the constantsSince 14.0. To be removed without replacement.Since 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStatsorClusterCacheStatsinstead.Since 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStatsorClusterCacheStatsinstead.Since 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 14.0. To be removed without replacement.since 11.0 Please useCloseables.iterator(Publisher, int)instead.useIsolationLevelinsteadUseVersioninsteadsince 11.0. UseCustomFailurePolicyinstead.
-
Deprecated InterfacesInterfaceDescriptionsince 11.0, please implementinstead
invalid reference
ReplicableCommand#invokeAsync(ComponentRegistry)since 11.0 (no longer used).Since 11.0. Will be removed in 14.0, the segment allocation will no longer be customizable.since 10.0since 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.since 11.0 replaced byNonBlockingStoresince 11.0 replaced byNonBlockingStoresince 11.0, this will be removed in the next major version with no direct replacement.since 14.0. To be removed in 17.0. UseAuthorizationMapperContextinsteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStatsorClusterCacheStatsinstead.since 11.0. UseCustomFailurePolicyinstead.
-
Deprecated ClassesClassDescriptionsince 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 11.0,
MemoryConfigurationis used to defined the data container memory eviction and sizing.since 11.0, useMemoryConfigurationBuilderinstead.since 11.0. UseTransport.localSiteName()since 11.0. The local site name is fetched viaTransport.localSiteName()since 12.0. UseAllowListConfigurationBuilderthrough @SerializationConfigurationBuilder.allowList(). Will be removed in 14.0.Since 9.4, please useBasicComponentRegistryinstead.since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.useClusterRoleMapperinstead. This class will be removed in Infinispan 14.0useCommonNameRoleMapperinsteaduseIdentityRoleMapperinsteaduseLoggingAuditLoggerinsteaduseNullAuditLoggerinsteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStatsorClusterCacheStatsinstead.Users should useRemovableCloseableIteratorinsteadUsers should useRemovableIteratorinsteadUseVersioninstead
-
Deprecated Enum ClassesEnum ClassDescriptionSince 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.useIsolationLevelinstead
-
Deprecated FieldsFieldDescriptionSince 13.0, will be removed in 16.0Since 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 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.This method requires boxing for each segment. Please useBaseCacheStream.SegmentCompletionListener.accept(Supplier)insteadsince 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 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 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. Returns true if the store is not shared.Since 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.Since 11.0 with no replacement; to be removed in next major version.useLockingConfiguration.lockIsolationLevel()insteadwith no replacementSince 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 16.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 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.3. UseCacheContainerConfigurationBuilder.statistics(boolean)instead.Since 11.0, no longer used.Since 11.0, no longer used.Since 11.0, no longer used.Since 11.0, no longer used.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 aSerializationContextInitializerviaSerializationConfigurationBuilder.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 11.0, 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 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 12.0, useLocalConfigurationStorage.loadAllCaches()insteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance.Since 11.0. To be removed in 14.0, withDataConversion.getWrapper()Since 11.0. To be removed in 14.0, withDataConversion.getWrapper()Since 12.0, will be removed in 15.0This method is only public for use with prior Store classes, usePersistenceUtil.storeFromConfiguration(StoreConfiguration)when dealing withNonBlockingStoreinstancessince 10.0, useMarshallingTwoWayKey2StringMapper.setMarshaller(Marshaller)insteadsince 11.0 - Please useInitializationContext.getBlockingManager()()} orInitializationContext.getNonBlockingExecutor()insteadTotal order support droppedIntroduced in 9.1, but replaced in 9.2 withTransport.invokeCommands(Collection, Function, ResponseCollector, DeliverOrder, long, TimeUnit).Since 9.2, please useTransport.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)instead.Since 14.0. To be removed without replacement.Since 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 14.0. To be removed without replacement.since 11.0 Please useCloseables.iterator(Publisher, int)instead.
-
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 11.0, with no replacement. Use
StorageType.HEAPand the cache'sEncodingConfigurationto define aMediaTypethat is byte[] or primitive based.since 11.0, useStorageType.HEAPinstead.Since 14.0, no longer does anything. Will be removed in 17.0.