GigaSpaces XAP 8.0 API

com.j_spaces.core
Interface IJSpace

All Superinterfaces:
IPojoSpace, IProxyAdmin, IServerAdmin, JavaSpace

public interface IJSpace
extends JavaSpace, IPojoSpace, IProxyAdmin, IServerAdmin

Notice: Since 7.0 this API is internal and subject to changes in future versions - Use GigaSpace instead.

This interface represents the application view of a GigaSpace instance. It is implemented by all the Space Proxies.

Since this interface extends the JavaSpace interface, standard JavaSpaces methods may be invoked without downcasting.

Since:
1.0
Version:
5.1
Author:
Igor Goldenberg
See Also:
GigaSpace, IJSpaceContainer, SpaceFinder

Field Summary
 
Fields inherited from interface net.jini.space.JavaSpace
NO_WAIT
 
Method Summary
 void clear(Entry template, Transaction txn)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 int clear(Entry template, Transaction txn, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 int count(Entry tmpl, Transaction txn)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 int count(Entry tmpl, Transaction txn, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 EventRegistration notify(Object template, Transaction txn, RemoteEventListener listener, long lease, MarshalledObject handback)
          Deprecated. Since 7.0 - Use EventSessionFactory instead.
 Entry read(Entry tmpl, Transaction txn, long timeout, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry readIfExists(Entry tmpl, Transaction txn, long timeout, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry[] readMultiple(Entry tmpl, Transaction txn, int limit)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry[] readMultiple(Entry tmpl, Transaction txn, int limit, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry[] takeMultiple(Entry template, Transaction txn, int limit)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry[] takeMultiple(Entry template, Transaction txn, int maxEntries, int modifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry update(Entry updatedEntry, Transaction transaction, long lease, long timeout)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Entry update(Entry updatedEntry, Transaction transaction, long lease, long timeout, int updateModifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Object[] updateMultiple(Entry[] entries, Transaction transaction, long[] leases)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Object[] updateMultiple(Entry[] entries, Transaction transaction, long[] leases, int updateModifiers)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 Lease[] writeMultiple(Entry[] entries, Transaction txn, long lease)
          Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.
 
Methods inherited from interface net.jini.space.JavaSpace
notify, read, readIfExists, snapshot, take, takeIfExists, write
 
Methods inherited from interface com.gigaspaces.client.IPojoSpace
clear, clear, count, count, getProxyAdmin, getServerAdmin, read, read, readIfExists, readIfExists, readMultiple, readMultiple, snapshot, take, take, takeIfExists, takeMultiple, takeMultiple, update, update, updateMultiple, updateMultiple, write, write, writeMultiple, writeMultiple, writeMultiple
 
Methods inherited from interface com.gigaspaces.client.IProxyAdmin
getFinderURL, getReadModifiers, getUpdateModifiers, isFifo, isNOWriteLeaseMode, isOptimisticLockingEnabled, isSecured, isStartedWithinGSC, setDefaultTransaction, setFifo, setNOWriteLeaseMode, setOptimisticLocking, setReadModifiers, setSecurityContext, setUpdateModifiers
 
Methods inherited from interface com.gigaspaces.client.IServerAdmin
clean, dropClass, getAdmin, getContainer, getName, getReferentUuid, getStubHandler, getURL, isEmbedded, ping
 

Method Detail

count

@Deprecated
int count(Entry tmpl,
                     Transaction txn)
          throws UnusableEntryException,
                 TransactionException,
                 RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
RemoteException

count

@Deprecated
int count(Entry tmpl,
                     Transaction txn,
                     int modifiers)
          throws UnusableEntryException,
                 TransactionException,
                 RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
RemoteException

read

@Deprecated
Entry read(Entry tmpl,
                      Transaction txn,
                      long timeout,
                      int modifiers)
           throws UnusableEntryException,
                  TransactionException,
                  InterruptedException,
                  RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
InterruptedException
RemoteException

readIfExists

@Deprecated
Entry readIfExists(Entry tmpl,
                              Transaction txn,
                              long timeout,
                              int modifiers)
                   throws UnusableEntryException,
                          TransactionException,
                          InterruptedException,
                          RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
InterruptedException
RemoteException

readMultiple

@Deprecated
Entry[] readMultiple(Entry tmpl,
                                Transaction txn,
                                int limit)
                     throws TransactionException,
                            UnusableEntryException,
                            RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
UnusableEntryException
RemoteException

readMultiple

@Deprecated
Entry[] readMultiple(Entry tmpl,
                                Transaction txn,
                                int limit,
                                int modifiers)
                     throws TransactionException,
                            UnusableEntryException,
                            RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
UnusableEntryException
RemoteException

notify

@Deprecated
EventRegistration notify(Object template,
                                    Transaction txn,
                                    RemoteEventListener listener,
                                    long lease,
                                    MarshalledObject handback)
                         throws TransactionException,
                                RemoteException
Deprecated. Since 7.0 - Use EventSessionFactory instead.

Throws:
TransactionException
RemoteException

clear

@Deprecated
void clear(Entry template,
                      Transaction txn)
           throws RemoteException,
                  TransactionException,
                  UnusableEntryException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
RemoteException
TransactionException
UnusableEntryException

clear

@Deprecated
int clear(Entry template,
                     Transaction txn,
                     int modifiers)
          throws RemoteException,
                 TransactionException,
                 UnusableEntryException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
RemoteException
TransactionException
UnusableEntryException

takeMultiple

@Deprecated
Entry[] takeMultiple(Entry template,
                                Transaction txn,
                                int limit)
                     throws TakeMultipleException,
                            TransactionException,
                            UnusableEntryException,
                            RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TakeMultipleException
TransactionException
UnusableEntryException
RemoteException

takeMultiple

@Deprecated
Entry[] takeMultiple(Entry template,
                                Transaction txn,
                                int maxEntries,
                                int modifiers)
                     throws TransactionException,
                            UnusableEntryException,
                            RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
UnusableEntryException
RemoteException

update

@Deprecated
Entry update(Entry updatedEntry,
                        Transaction transaction,
                        long lease,
                        long timeout)
             throws TransactionException,
                    UnusableEntryException,
                    RemoteException,
                    InterruptedException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
UnusableEntryException
RemoteException
InterruptedException

updateMultiple

@Deprecated
Object[] updateMultiple(Entry[] entries,
                                   Transaction transaction,
                                   long[] leases)
                        throws UnusableEntryException,
                               TransactionException,
                               RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
RemoteException

updateMultiple

@Deprecated
Object[] updateMultiple(Entry[] entries,
                                   Transaction transaction,
                                   long[] leases,
                                   int updateModifiers)
                        throws UnusableEntryException,
                               TransactionException,
                               RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
UnusableEntryException
TransactionException
RemoteException

writeMultiple

@Deprecated
Lease[] writeMultiple(Entry[] entries,
                                 Transaction txn,
                                 long lease)
                      throws TransactionException,
                             RemoteException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
RemoteException

update

@Deprecated
Entry update(Entry updatedEntry,
                        Transaction transaction,
                        long lease,
                        long timeout,
                        int updateModifiers)
             throws TransactionException,
                    UnusableEntryException,
                    RemoteException,
                    InterruptedException
Deprecated. Since 8.0 - Entry support has been deprecated, use GigaSpace with POJOs instead.

Throws:
TransactionException
UnusableEntryException
RemoteException
InterruptedException

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.