Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Enum Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
- Enum Constants
-
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 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfiguration.getClassAllowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0UseConfiguration.serialAllowList()instead. To be removed in 14.0.since 12.0. To be removed in Infinispan 14.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0since 11.0. To be removed in 14.0. UseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)andRemoteCacheConfigurationBuilder.nearCacheMaxEntries(int)instead.Since 12.0, does nothing and will be removed in 15.0UseConfigurationChildBuilder.addJavaSerialAllowList(String...)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0useRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cacheuseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cachesince default templates have been removed, useRemoteCacheConfigurationBuilder.configuration(String)and supply the cache type using the declarative configuration, for example{"replicated-cache": { "mode": "sync"}}in place oforg.infinispan.REPL_SYNCsince 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)instead.since 12.0 to be removed in 15.0. UseSslConfigurationBuilder.trustStoreFileName(String)and passpemtoSslConfigurationBuilder.trustStoreType(String).since 12.0. To be removed in Infinispan 14since 12.0. To be removed in Infinispan 14.since 12.0. To be removed in Infinispan 14. UseConfigurationBuilder.transactionTimeout(long, TimeUnit)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionMode(TransactionMode)Replaced byDataFormat.initialize(RemoteCacheManager, String).Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0UseClientListenerNotifier.allowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfigurationProperties.setJavaSerialAllowList(String)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, will be removed in 15.0Since 14.0. UseRemoteCache.getRemoteCacheContainer()instead.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.Since 14.0, please useServerStatistics.APPROXIMATE_ENTRIESsince 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 useCacheRpcCommand.invokeAsync(ComponentRegistry)insteadsince 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.configurations are now always permanent by default. Use theCacheContainerAdmin.AdminFlag.VOLATILEflag to obtain the opposite behaviour.since 12.0. Will be removed in 14.0. UseClassAllowList.UseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 12.1, without replacement. To be removed in a future version.since 12.1, to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622since 12.1. to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 12.1, to be removed in a future version.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, without replacement.Since 11.0, without replacement.replaced byMediaType.fromString(java.lang.String)UseMediaType.getParameters()andMediaType.getTypeSubtype()to build a custom String representation.Since 13.0, with no replacement.Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacment.Since 13.0 without replacement.Since 13.0, without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertTextToUrlEncoded(Object, MediaType) Since 13.0, without replacement.since 13.0 without replacement.Since 13.0 without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertUrlEncodedToText(Object, MediaType) Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacement.UseBase16Codec.decode(String)instead.Since 13.0, without replacement.Since 13.0 without replacement.Since 12.1, to be removed in a future version.Replaced by PROTOBUF_WRAPPER. Will be removed in next minor version.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStreaminstead.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.for internal use onlysince 11.0. To be removed in 14.0 ISPN-11866. Stores should utiliseorg.infinispan.persistence.spi.NonBlockingStore.Characteristicto specify a store's capabilities.Since 12, will be removed in version 15.0since 11.0 with no replacement - no longer usedsince 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, will be removed in 14.0. Set the storage media type and use transcoding 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 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.org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfiguration.dbMinorVersion()since 14.0, always returns nullsince 14.0 is ignoredsince 14.0 is ignoredplease useAbstractStoreConfiguration.maxBatchSize()instead.Please useAbstractStoreConfigurationBuilder.maxBatchSize(int)instead.since 10.0, useMarshallingTwoWayKey2StringMapper.setMarshaller(Marshaller)insteadSince 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0since 12.0 - Automatic media type detection in remote store makes this option redundantSince 12.0, does nothing and will be removed in 15.0since 12.0 - This option can still be needed when retrieving from a preexisting remote cacheSince 12.0, does nothing and will be removed in 15.0org.infinispan.persistence.remote.configuration.RemoteStoreConfigurationBuilder.keySizeEstimate(int) Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseIdentityMarshallerinstead.Since 12.0, no longer used. Will be removed in 15.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 - 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 byNonBlockingStoreuseAbstractSchemaJdbcConfiguration.schema()instead.useAbstractSchemaJdbcConfigurationBuilder.schema()insteaduseQueriesJdbcStoreConfigurationBuilder.queries()insteadsince 12.1. Will be removed in 15.0. Use the CREATE permission instead.since 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.since 12.1. Will be removed in 15.0. Use the CREATE permission instead.useClusterRoleMapperinstead. This class will be removed in Infinispan 14.0useIdentityRoleMapperinsteaduseLoggingAuditLoggerinsteaduseNullAuditLoggerinsteadsince 14.0. To be removed in 17.0. UseAuthorizationMapperContextinsteadJSON to POJO conversion is deprecated and will be removed in a future version.JSON to POJO conversion is deprecated and will be removed in a future version.Multiple Cache Managers are not supported in the serverMultiple Cache Managers are not supported in the server. UseServerManagement.getCacheManager()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 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.useIsolationLevelinsteadUseVersioninstead
-
Deprecated InterfacesInterfaceDescriptionsince 11.0, please use
CacheRpcCommand.invokeAsync(ComponentRegistry)insteadSince 12.1, without replacement. To be removed in a future version.since 12.1, to be removed in a future version.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 10.0, will be removed in a future release. Please configure aSerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.for internal use onlysince 11.0 with no replacement - no longer usedsince 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 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. The Ickle query language is now preferred over theQueryBuilder. SeeQueryFactory.create(java.lang.String). TheQueryBuilderand associated context interfaces will be removed in version 11.0.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.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. UseAuthorizationMapperContextinsteadSince 10.1.3. This mixes statistics across unrelated caches so the reported numbers don't have too much relevance. Please useStatsorClusterCacheStatsinstead.
-
Deprecated ClassesClassDescriptionsince 15.1, the connection pool is no longer usedsince 15.1, the connection pool is no longer usedsince 12.0. To be removed in Infinispan 14since 12.0. To be removed in Infinispan 14.since 12.0. Will be removed in 14.0. Use
ClassAllowList.UseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 11.0, will be removed with ISPN-9622since 12.1. to be removed in a future version.Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 12.1, to be removed in a future version.Since 12.1, to be removed in a future version.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStreaminstead.Since 12, will be removed in version 15.0since 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, will be removed in 14.0. Set the storage media type and use transcoding instead.since 11.0. To be removed in 14.0 ISPN-11864 with no direct replacement.UseIdentityMarshallerinstead.useClusterRoleMapperinstead. This class will be removed in Infinispan 14.0useCommonNameRoleMapperinsteaduseIdentityRoleMapperinsteaduseLoggingAuditLoggerinsteaduseNullAuditLoggerinsteadJSON to POJO conversion is deprecated and will be removed in a future version.JSON to POJO conversion is deprecated and will be removed in a future version.Since 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.since 10.1. See deprecation note onQueryBuilder.useIsolationLevelinstead
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince 10.0, will be removed in a future release. Please configure a
SerializationContextInitializerand utilise ProtoStream annotations on Java objects instead, or specify a customMarshallerimplementation via the SerializationConfiguration.since 11.0. To be removed in 14.0 ISPN-11866. Stores should utiliseorg.infinispan.persistence.spi.NonBlockingStore.Characteristicto specify a store's capabilities.
-
Deprecated FieldsFieldDescriptionSince 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 14.0, please use
ServerStatistics.APPROXIMATE_ENTRIESSince 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed in 14.0. Set the storage media type and use transcoding instead.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed in 14.0. No longer used for BINARY storage.Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, will be removed with ISPN-9622Since 11.0, without replacement.Since 11.0, without replacement.Replaced by PROTOBUF_WRAPPER. Will be removed in next minor version.Since 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.since 12.1. Will be removed in 15.0. Use the CREATE permission instead.since 12.1. Will be removed in 15.0. Use the CREATE permission instead.
-
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 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfiguration.getClassAllowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0UseConfiguration.serialAllowList()instead. To be removed in 14.0.since 12.0. To be removed in Infinispan 14.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0since 11.0. To be removed in 14.0. UseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)andRemoteCacheConfigurationBuilder.nearCacheMaxEntries(int)instead.Since 12.0, does nothing and will be removed in 15.0UseConfigurationChildBuilder.addJavaSerialAllowList(String...)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0useRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cacheuseRemoteCacheConfigurationBuilder.nearCacheMode(NearCacheMode)to enable near-caching per-cachesince default templates have been removed, useRemoteCacheConfigurationBuilder.configuration(String)and supply the cache type using the declarative configuration, for example{"replicated-cache": { "mode": "sync"}}in place oforg.infinispan.REPL_SYNCsince 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)instead.since 12.0 to be removed in 15.0. UseSslConfigurationBuilder.trustStoreFileName(String)and passpemtoSslConfigurationBuilder.trustStoreType(String).since 12.0. To be removed in Infinispan 14. UseConfigurationBuilder.transactionTimeout(long, TimeUnit)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionManagerLookup(TransactionManagerLookup)since 12.0. To be removed in Infinispan 14. UseRemoteCacheConfigurationBuilder.transactionMode(TransactionMode)Replaced byDataFormat.initialize(RemoteCacheManager, String).Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0UseClientListenerNotifier.allowList()instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0UseConfigurationProperties.setJavaSerialAllowList(String)instead. To be removed in 14.0.Since 12.0, does nothing and will be removed in 15.0Since 12.0 and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, will be removed in 15.0Since 14.0. UseRemoteCache.getRemoteCacheContainer()instead.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.since 11.0. UseConfigurationBuilder.remoteCache(String)to configure the cache and thenRemoteCacheContainer.getCache(String)to obtain it.useBasicCache.continuousQuery()instead.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 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.replaced byMediaType.fromString(java.lang.String)UseMediaType.getParameters()andMediaType.getTypeSubtype()to build a custom String representation.Since 13.0, with no replacement.Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacment.Since 13.0 without replacement.Since 13.0, without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertTextToUrlEncoded(Object, MediaType) Since 13.0, without replacement.since 13.0 without replacement.Since 13.0 without replacement.org.infinispan.commons.dataconversion.StandardConversions.convertUrlEncodedToText(Object, MediaType) Since 13.0 without replacement.Since 13.0, without replacement.Since 13.0, without replacement.UseBase16Codec.decode(String)instead.Since 13.0, without replacement.Since 13.0 without replacement.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 withNonBlockingStoreinstancesorg.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfiguration.dbMajorVersion()since 14.0, always returns nullorg.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfiguration.dbMinorVersion()since 14.0, always returns nullSince 13.0 with no replacementsince 14.0 is ignoredsince 14.0 is ignoredDeprecated since 13.0 with no replacementplease useAbstractStoreConfiguration.maxBatchSize()instead.Please useAbstractStoreConfigurationBuilder.maxBatchSize(int)instead.since 10.0, useMarshallingTwoWayKey2StringMapper.setMarshaller(Marshaller)insteadSince 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0since 12.0 - Automatic media type detection in remote store makes this option redundantSince 12.0, does nothing and will be removed in 15.0since 12.0 - This option can still be needed when retrieving from a preexisting remote cacheSince 12.0, does nothing and will be removed in 15.0org.infinispan.persistence.remote.configuration.RemoteStoreConfigurationBuilder.keySizeEstimate(int) Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, does nothing and will be removed in 15.0Since 12.0, no longer used. Will be removed in 15.0since 11.0 - Please useInitializationContext.getBlockingManager()()} orInitializationContext.getNonBlockingExecutor()insteaduseAbstractSchemaJdbcConfiguration.schema()instead.useAbstractSchemaJdbcConfigurationBuilder.schema()insteaduseQueriesJdbcStoreConfigurationBuilder.queries()insteadTo be removed in Infinispan 10.0 without replacement.since 11.0. This method will be removed in next major version. To find out if a query uses projections useQuery.hasProjections()since 10.1. This will be removed in 12. It's closest replacement isQueryResult.hitCount()which returns an optional long.useBasicCache.query(String)insteadsince 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.since 10.1. See deprecation note onQueryBuilder.replaced byQueryResult.count()useBasicCache.continuousQuery()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.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)instead.Multiple Cache Managers are not supported in the serverMultiple Cache Managers are not supported in the server. UseServerManagement.getCacheManager()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, 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.
-
Deprecated Enum ConstantsEnum ConstantDescriptionconfigurations are now always permanent by default. Use the
CacheContainerAdmin.AdminFlag.VOLATILEflag to obtain the opposite behaviour.since 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, no longer does anything. Will be removed in 17.0.Since 12.0, will be removed in 15.0Since 12.0, will be removed in 15.0