Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis method requires boxing for each segment. Please use
BaseCacheStream.SegmentCompletionListener.accept(Supplier)insteadsince 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_SYNCSince 14.0. UseRemoteCache.getRemoteCacheContainer()instead.UseBasicCache.query(String)andBasicCache.continuousQuery()instead.Since 14.0, please useServerStatistics.APPROXIMATE_ENTRIESsince 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 ProtoStreamUseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 11.0, without replacement.Since 11.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 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 14.0. This method does nothing. Only the first non shared store that supports publishEntries is used for state transfer.Since 14.0, no longer does anything. Will be removed in 17.0.Since 9.4, please useBasicComponentRegistryinstead.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, will be removed in 15.0Since 12.0, will be removed in 15.0UseIdentityMarshallerinstead.useAbstractSchemaJdbcConfiguration.schema()instead.useAbstractSchemaJdbcConfigurationBuilder.schema()insteaduseQueriesJdbcStoreConfigurationBuilder.queries()insteadUseBasicCache.query(String)insteaduse @QueryinsteaduseBasicCache.query(String)insteaduseQueryResultinsteaduseBasicCache.continuousQuery()instead.since 14.0. To be removed in 17.0. UseAuthorizationMapperContextinsteadMultiple 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.useIsolationLevelinstead
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionfor internal use onlyuse @
QueryinsteaduseBasicCache.query(String)insteaduseQueryResultinsteadsince 16.0, use Schemas administration API instead.
RemoteCacheManager remoteCacheManager = ...; RemoteSchemasAdmin schemasAdmin = remoteCacheManager.administration().schemas();since 14.0. To be removed in 17.0. UseAuthorizationMapperContextinstead
-
Deprecated ClassesClassDescriptionsince 15.1, the connection pool is no longer usedsince 15.1, the connection pool is no longer usedUse
BasicCache.query(String)andBasicCache.continuousQuery()instead.UseStringConfigurationinsteadsince 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN.Since 9.4, please useBasicComponentRegistryinstead.UseIdentityMarshallerinstead.UseBasicCache.query(String)insteaduseCommonNameRoleMapperinsteadUsers should useRemovableCloseableIteratorinsteadUsers should useRemovableIteratorinstead
-
Deprecated Enum ClassesEnum ClassDescriptionSince 11.0. Will be removed in 14.0, no longer used.use
IsolationLevelinstead
-
Deprecated FieldsFieldDescriptionSince 14.0, please use
ServerStatistics.APPROXIMATE_ENTRIESSince 11.0, without replacement.Since 11.0, without replacement.
-
Deprecated MethodsMethodDescriptionThis method requires boxing for each segment. Please use
BaseCacheStream.SegmentCompletionListener.accept(Supplier)insteadsince 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 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 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 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 14.0. This method does nothing. Only the first non shared store that supports publishEntries is used for state transfer.Since 11, to be removed in 14 with no replacementSince 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.useAbstractSchemaJdbcConfiguration.schema()instead.useAbstractSchemaJdbcConfigurationBuilder.schema()insteaduseQueriesJdbcStoreConfigurationBuilder.queries()insteaduseBasicCache.continuousQuery()instead.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)insteadreplaced byQueryResult.count()useBasicCache.continuousQuery()instead.UseIndexer.of(Cache)instead.Multiple 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