SMILA (incubation) API documentation

org.eclipse.smila.connectivity
Interface ConnectivityManager

All Known Implementing Classes:
ConnectivityManagerImpl

public interface ConnectivityManager

The Interface ConnectivityManager.


Method Summary
 int add(Record[] records)
          Put the given records for further processing to the ADD Queue.
 int delete(Id[] ids)
          Put the the given ids for Deletion from the system to the DELETE Queue.
 

Method Detail

add

int add(Record[] records)
        throws ConnectivityException
Put the given records for further processing to the ADD Queue.

Parameters:
records - a list of Record objects
Returns:
the number of records successfully added to the ADD Queue
Throws:
ConnectivityException - if any error occurs

delete

int delete(Id[] ids)
           throws ConnectivityException
Put the the given ids for Deletion from the system to the DELETE Queue.

Parameters:
ids - a list of IDs to delete
Returns:
the number of ids successfully added to the DELETE Queue
Throws:
ConnectivityException - if any error occurs

SMILA (incubation) API documentation