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.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 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.0since 15.1, the connection pool is no longer usedsince 15.1, the connection pool is no longer usedsince 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_SYNC
since 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 passpem
toSslConfigurationBuilder.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 14.0, please useServerStatistics.APPROXIMATE_ENTRIES
since 16.0, useCommandsFactory.buildXSiteStatePushCommand(List)
insteadsince 16.0, useCommandsFactory.buildXSiteStatePushRequest(List, long)
insteadsince 16.0 as this is no longer required by the Protostream based marshaller. Implementations of this method are always ignored.since 16.0 command objects should be marshalled directly by ProtoStreamsince 16.0 command objects should be marshalled directly by ProtoStreamsince 12.0. Will be removed in 14.0. UseClassAllowList
.UseStringConfiguration
insteadsince 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 12.1. to be removed in a future version.Since 12.1, to be removed in a future version.Since 11.0, without replacement.Since 11.0, without replacement.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.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStream
instead.Since 12, will be removed in version 15.0since 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 14.0. To be removed without replacement.Since 14.0. To be removed without replacementSince 14.0. To be removed without replacement.since 14.0. Returns true if the store is not shared.useLockingConfiguration.lockIsolationLevel()
insteadwith no replacementsince 14.0. This will always return falsesince 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 14.0. This method does nothing. Only the first non shared store that supports publishEntries is used for state transfer.since 12.0. UseSerializationConfigurationBuilder.allowList()
instead. To be removed in 14.0.since 12.0. UseAllowListConfigurationBuilder
through @SerializationConfigurationBuilder.allowList()
. Will be removed in 14.0.Since 14.0, no longer does anything. Will be removed in 17.0.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, to be removed in a future version.Since 11.0. To be removed in 14.0, with no replacement.Since 9.4, please useBasicComponentRegistry
instead.since 12.0, useLocalConfigurationStorage.loadAllCaches()
insteadSince 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.0org.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 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.0UseIdentityMarshaller
instead.Since 12.0, no longer used. Will be removed in 15.0useAbstractSchemaJdbcConfiguration.schema()
instead.useAbstractSchemaJdbcConfigurationBuilder.schema()
insteaduseQueriesJdbcStoreConfigurationBuilder.queries()
insteadsince 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.since 14.0. To be removed in 17.0. UseAuthorizationMapperContext
insteadJSON 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.To be removed without replacement. Infinispan no longer does activations.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 16.0, useClusterTopologyManager.handleLeave(String, Address)
insteadsince 16.0, useClusterTopologyManager.handleRebalancePhaseConfirm(String, Address, int, Throwable)
insteadsince 14.0. To be removed without replacement.useIsolationLevel
instead
-
Deprecated InterfacesInterfaceDescriptionSince 12.1, without replacement. To be removed in a future version.since 12.1, to be removed in a future version.for internal use onlysince 10.1. See deprecation note on
QueryBuilder
.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)
. TheQueryBuilder
and 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 14.0. To be removed in 17.0. UseAuthorizationMapperContext
instead
-
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
.UseStringConfiguration
insteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN
.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.since 12.0 with no replacementSince 13.0, please useLazyByteArrayOutputStream
instead.Since 12, will be removed in version 15.0since 12.0. UseAllowListConfigurationBuilder
through @SerializationConfigurationBuilder.allowList()
. Will be removed in 14.0.Since 9.4, please useBasicComponentRegistry
instead.UseIdentityMarshaller
instead.useCommonNameRoleMapper
insteadJSON 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.Users should useRemovableCloseableIterator
insteadUsers should useRemovableIterator
instead
-
Deprecated Enum ClassesEnum ClassDescriptionSince 11.0. Will be removed in 14.0, no longer used.since 10.1. See deprecation note on
QueryBuilder
.useIsolationLevel
instead
-
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_ENTRIES
Since 11.0, without replacement.Since 11.0, without replacement.Since 13.0, will be removed in 16.0Since 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.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 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.0since 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_SYNC
since 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 passpem
toSslConfigurationBuilder.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.useBasicCache.continuousQuery()
instead.since 16.0, useCommandsFactory.buildXSiteStatePushCommand(List)
insteadsince 16.0, useCommandsFactory.buildXSiteStatePushRequest(List, long)
insteadsince 16.0 as this is no longer required by the Protostream based marshaller. Implementations of this method are always ignored.since 16.0 command objects should be marshalled directly by ProtoStreamsince 16.0 command objects should be marshalled directly by ProtoStreamSince 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 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 14.0. To be removed without replacement.Since 14.0. To be removed without replacementSince 14.0. To be removed without replacement.since 14.0. Returns true if the store is not shared.useLockingConfiguration.lockIsolationLevel()
insteadwith no replacementsince 14.0. This will always return falsesince 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.since 12.0. UseSerializationConfigurationBuilder.allowList()
instead. To be removed in 14.0.Since 11, to be removed in 14 with no replacementSince 11.0. To be removed in 14.0, with no replacement.Since 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 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 withNonBlockingStore
instancesorg.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 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.0useAbstractSchemaJdbcConfiguration.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.Multiple Cache Managers are not supported in the serverMultiple Cache Managers are not supported in the server. UseServerManagement.getCacheManager()
instead.To be removed without replacement. Infinispan no longer does activations.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 16.0, useClusterTopologyManager.handleLeave(String, Address)
insteadsince 16.0, useClusterTopologyManager.handleRebalancePhaseConfirm(String, Address, int, Throwable)
insteadsince 14.0. To be removed without replacement.
-
Deprecated Enum ConstantsEnum ConstantDescriptionSince 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