GigaSpaces XAP 7.0 API

Deprecated API


Contents
Deprecated Interfaces
com.j_spaces.javax.cache.BasicCacheLoader
          Use ExternalDataSource. 
com.j_spaces.javax.cache.Cache
            
com.j_spaces.javax.cache.CacheEntry
            
com.j_spaces.javax.cache.CacheIterator
          Use DataIterator. 
com.j_spaces.javax.cache.CacheListener
            
com.j_spaces.javax.cache.CacheLoader
          Use ExternalDataSource. 
com.j_spaces.javax.cache.CacheQuery
            
com.j_spaces.javax.cache.CacheStore
          Use ExternalDataSource. 
com.j_spaces.javax.cache.EvictionStrategy
            
com.j_spaces.javax.cache.IConverter
            
com.j_spaces.core.client.IMetaDataEntry
          Use SpaceClass instead. 
com.j_spaces.core.client.INotifyDelegator
            
com.j_spaces.core.client.INotifyDelegatorFilter
           
com.j_spaces.worker.IPrivilegeWorker
            
com.j_spaces.jdbc.IProcedure
          Use Task or DistributedTask instead. 
com.j_spaces.worker.IWorker
          You should use processing units and event containers to implement code that is collocated with the space. Please refer to the GigaSpaces XAP documentation for more details: http://www.gigaspaces.com/wiki 
 

Deprecated Classes
org.openspaces.remoting.AsyncRemotingProxyConfigurer
          Use EventDrivenRemotingProxyConfigurer. Async remoting renamed to event driven. 
org.openspaces.remoting.scripting.AsyncScriptingProxyConfigurer
          Use EventDrivenScriptingProxyConfigurer. 
org.openspaces.remoting.AsyncSpaceRemotingProxyFactoryBean
          Use EventDrivenSpaceRemotingProxyFactoryBean: Async remoting renamed to event driven. 
com.j_spaces.map.CacheFinder
          Use MapConfigurer instead. 
com.gigaspaces.datasource.hibernate.HibernateDataIterator
          use org.openspaces.persistency.hibernate package instead 
com.gigaspaces.datasource.hibernate.HibernateDataSource
          use org.openspaces.persistency.hibernate package instead 
com.gigaspaces.datasource.hibernate.HibernateMapDataSource
          use org.openspaces.persistency.hibernate package instead 
com.j_spaces.core.client.MetaDataEntry
          Use SpaceClass instead. 
com.j_spaces.core.client.MulticastNotifyDelegator
          Use EventSessionFactory instead. 
com.j_spaces.core.client.NotifyDelegator
          Use EventSessionFactory instead. 
com.j_spaces.core.client.NotifyDelegatorMultiplexer
          Use EventSessionFactory instead. 
com.j_spaces.core.client.NotifyModifiers
          use NotifyActionType 
com.j_spaces.core.client.RegExQuery
          - use SQLQuery with 'rlike' 
com.j_spaces.core.client.SpaceFinder
          Use UrlSpaceConfigurer instead. 
com.j_spaces.core.client.SpaceURL
          Use UrlSpaceConfigurer instead. 
org.openspaces.remoting.scripting.SyncScriptingProxyConfigurer
          Use ExecutorScriptingProxyConfigurer. 
org.openspaces.remoting.SyncSpaceRemotingProxyFactoryBean
          Use ExecutorSpaceRemotingProxyFactoryBean and executor based remoting instead. 
 

Deprecated Exceptions
com.j_spaces.javax.cache.CacheException
            
com.j_spaces.core.InvalidFifoClassException
          This exception is no longer thrown. 
org.openspaces.core.InvalidFifoClassException
          This exception is no longer thrown. 
 

Deprecated Annotation Types
org.openspaces.remoting.AsyncProxy
          Use EventDrivenProxy. Async remoting has been renamed to event driven. 
org.openspaces.remoting.scripting.AsyncScriptingExecutor
          Use EventDrivenScriptingExecutor. 
org.openspaces.remoting.SyncProxy
          Use ExecutorProxy and executor based remoting instead. 
org.openspaces.remoting.scripting.SyncScriptingExecutor
          Use ExecutorScriptingExecutor. 
 

Deprecated Fields
com.j_spaces.core.cluster.IReplicationFilterEntry.DISCARD
          use ReplicationOperationType.DISCARD instead. 
com.j_spaces.core.cluster.IReplicationFilterEntry.DUMMY
          use IReplicationFilterEntry.discard() and IReplicationFilterEntry.isDiscarded() instead 
com.j_spaces.core.cluster.IReplicationFilterEntry.EXTEND_LEASE
          use ReplicationOperationType.EXTEND_LEASE instead. 
com.j_spaces.core.client.SpaceURL.FIFO_MODE
          use FifoSupport instead. 
com.j_spaces.core.cluster.IReplicationFilterEntry.LEASE_EXPIRATION
          use ReplicationOperationType.LEASE_EXPIRATION instead 
com.j_spaces.core.cluster.ClusterPolicy.m_DCacheAttributes
          No longer in the cluster policy. Included in a space configuration. In order to get the attributes use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheProperties(). 
com.j_spaces.core.cluster.ClusterPolicy.m_DCacheConfigName
          No longer in the cluster policy. Included in a space configuration. In order to get the configuration name use: ((JSpaceAttributes)JProperties.getSpaceProperties(getServiceName())).getDCacheConfigName(). 
com.j_spaces.core.JSpaceAttributes.m_isClustered
            
com.j_spaces.core.cluster.ClusterPolicy.m_jmsConfigName
          No longer in the cluster policy. 
com.j_spaces.core.cluster.ClusterPolicy.m_jmsProperties
          No longer in the cluster policy. 
com.j_spaces.core.filters.FilterOperationCodes.ON_INIT
          this operation code is deprecated. There is no need for ON_INIT , since when filter's init() is called the space is already initialized 
com.j_spaces.core.filters.FilterOperationCodes.SET_SECURITY
          see FilterOperationCodes.BEFORE_AUTHENTICATION 
com.j_spaces.core.cluster.IReplicationFilterEntry.TAKE
          use ReplicationOperationType.TAKE instead. 
com.j_spaces.core.cluster.IReplicationFilterEntry.UPDATE
          use ReplicationOperationType.UPDATE instead. 
com.j_spaces.core.cluster.IReplicationFilterEntry.WRITE
          use ReplicationOperationType.WRITE instead. 
 

Deprecated Methods
com.j_spaces.core.IJSpaceContainer.createSpace(String, JSpaceAttributes)
           
com.j_spaces.core.client.ClientUIDHandler.createUIDFromName(StringBuilder, Object, String)
          use ClientUIDHandler.createUIDFromName(Object, String) instead. 
com.j_spaces.core.IJSpaceContainer.destroySpace(String)
           
org.openspaces.core.space.UrlSpaceConfigurer.fifo(boolean)
          Use FifoSupport instead. 
com.j_spaces.core.IJSpaceContainer.getClusteredSpace(String)
           
com.j_spaces.core.IJSpaceContainer.getClusteredSpace(String, boolean)
          Use instead: IJSpaceContainer.getClusteredSpace(String) 
com.j_spaces.core.client.EntryArrivedRemoteEvent.getEntry()
          use EntryArrivedRemoteEvent.getObject() instead. 
com.j_spaces.core.client.SQLQuery.getEntry()
          use SQLQuery.getObject() instead. 
com.j_spaces.core.client.EntryArrivedRemoteEvent.getEntry(boolean)
          use EntryArrivedRemoteEvent.getObject() or EntryArrivedRemoteEvent.getExternalEntry() instead. 
com.j_spaces.core.IGSEntry.getEntry(IJSpace)
          use IGSEntry.getObject(IJSpace) instead. 
com.j_spaces.core.client.BasicTypeInfo.getFieldsNamesChecksum()
           
com.j_spaces.core.client.BasicTypeInfo.getFieldsTypesChecksum()
           
org.openspaces.jdbc.datasource.DbcpBasicDataSource.getLogAbandoned()
            
com.j_spaces.core.client.ClientUIDHandler.getNameFromUID(String)
           
com.j_spaces.core.client.ClientUIDHandler.getObjectFromUID(String)
           
com.j_spaces.core.cluster.IReplicationFilterEntry.getOpCode()
          use IReplicationFilterEntry.getOperationType() instead. 
com.j_spaces.core.client.BasicTypeInfo.getPropertiesChecksum()
           
org.openspaces.jdbc.datasource.DbcpBasicDataSource.getRemoveAbandoned()
            
org.openspaces.jdbc.datasource.DbcpBasicDataSource.getRemoveAbandonedTimeout()
            
com.j_spaces.core.IJSpaceContainer.getSpace(String)
           
com.j_spaces.core.IJSpaceContainer.getSpace(String, boolean)
          Use instead: IJSpaceContainer.getSpace(String) 
com.j_spaces.core.IJSpaceContainer.getSpaceAttributes(String)
           
com.j_spaces.core.IJSpaceContainer.getSpaceNames()
           
com.j_spaces.core.client.BasicTypeInfo.getSuperClassesChecksum()
           
com.j_spaces.map.IMap.getTransaction()
          use explicit transaction instead 
com.j_spaces.core.client.CacheException.getUnderlyingException()
          use java.lang.Throwable#getCause() 
com.gigaspaces.client.IProxyAdmin.isFifo()
          Use getReadModifiers() with ReadModifiers.FIFO instead. 
com.j_spaces.core.IJSpace.notify(Entry, Transaction, RemoteEventListener, long, MarshalledObject, int)
          Use EventSessionFactory instead. 
com.j_spaces.core.IJSpace.notify(Object, Transaction, RemoteEventListener, long, MarshalledObject)
          Use EventSessionFactory instead. 
com.j_spaces.core.IJSpace.replace(Entry, Entry, Transaction, long)
          use instead: IJSpace.update(Entry, Transaction, long, long, int) 
com.gigaspaces.client.IProxyAdmin.setFifo(boolean)
          Use setReadModifiers() with ReadModifiers.FIFO instead. 
org.openspaces.jdbc.datasource.DbcpBasicDataSource.setLogAbandoned(boolean)
            
com.j_spaces.core.cluster.IReplicationFilterEntry.setOpCode(byte)
          use IReplicationFilterEntry.setOperationType(ReplicationOperationType) instead. 
org.openspaces.jdbc.datasource.DbcpBasicDataSource.setRemoveAbandoned(boolean)
            
org.openspaces.jdbc.datasource.DbcpBasicDataSource.setRemoveAbandonedTimeout(int)
            
com.gigaspaces.client.IProxyAdmin.setSecurityContext(SecurityContext)
          since 7.0.1 
com.j_spaces.map.IMap.setTransaction(Transaction)
          use explicit transaction instead 
com.j_spaces.core.IJSpaceContainer.shutdown()
           
org.openspaces.core.IteratorBuilder.withHistory()
           
com.gigaspaces.datasource.DataPersister.writeBatch(List)
          for batch operations use BulkDataPersister 
 

Deprecated Constructors
com.j_spaces.core.client.GSIterator(IJSpace, Collection, int, boolean, long)
          Use GSIterator.GSIterator(IJSpace, Collection, GSIteratorConfig) instead. 
com.gigaspaces.config.lrmi.nio.NIOConfiguration(int, int, int, boolean, String, String)
          use NIOConfiguration.NIOConfiguration(int, int, int, String, String) instead 
com.gigaspaces.config.lrmi.nio.NIOConfiguration(int, int, int, boolean, String, String, int, int, int, int)
          use NIOConfiguration.NIOConfiguration( int, int, int, String, String, int, int, int, int) 
com.gigaspaces.config.lrmi.nio.NIOConfiguration(int, int, int, boolean, String, String, int, int, int, int, int, String, String, String, long, String)
          use NIOConfiguration.NIOConfiguration( int, int, int, String, String, int, int, int, int, int, String, String, String, long, String) instead 
com.gigaspaces.config.lrmi.nio.NIOConfiguration(int, int, int, boolean, String, String, int, String, String, String, long, String)
          use NIOConfiguration.NIOConfiguration( int, int, int, String, String, int, String, String, String, long, String) 
 

Deprecated Annotation Type Elements
com.gigaspaces.annotation.pojo.SpaceClass.fifo
          This setting is deprecated. Use fifoMode() instead. 
com.gigaspaces.annotation.pojo.SpaceClass.mappingType
          This setting is no longer required. 
 


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.