VolD 0.1

de.zib.vold.common.VoldInterface Interface Reference

The interface each VolD interface should provide. More...

Inheritance diagram for de.zib.vold.common.VoldInterface:

List of all members.

Public Member Functions

Map< String, String > insert (String source, Map< Key, Set< String > > map)
 Insert a set of keys from a certain source.
Map< String, String > refresh (String source, Set< Key > set)
 Refresh a set of keys.
Map< String, String > delete (String source, Set< Key > set)
 Delete a set of keys.
Map< Key, Set< String > > lookup (Set< Key > keys)
 Lookup some keys.

Detailed Description

The interface each VolD interface should provide.

Definition at line 11 of file VoldInterface.java.


Member Function Documentation

Map< String, String > de.zib.vold.common.VoldInterface.delete ( String  source,
Set< Key set 
)

Delete a set of keys.

Parameters:
sourceThe source of the keys to delete.
setThe set of keys to delete.

Implemented in de.zib.vold.client.RESTClient.

Map< String, String > de.zib.vold.common.VoldInterface.insert ( String  source,
Map< Key, Set< String > >  map 
)

Insert a set of keys from a certain source.

Parameters:
sourceThe source inserting the keys.
mapThe map of all keys and its values to insert.
Returns:
A map telling the lifetime of each inserted key and zero for all not inserted keys.

Implemented in de.zib.vold.client.RESTClient.

Map< Key, Set< String > > de.zib.vold.common.VoldInterface.lookup ( Set< Key keys)

Lookup some keys.

Parameters:
keysThe keys to lookup.
Returns:
The map of all found keys and its found values.

Implemented in de.zib.vold.client.RESTClient.

Map< String, String > de.zib.vold.common.VoldInterface.refresh ( String  source,
Set< Key set 
)

Refresh a set of keys.

Parameters:
sourceThe source of the keys to refresh.
setThe set of keys to refresh.
Returns:
A map telling the lifetime of each inserted key and zero for all not inserted keys.

Implemented in de.zib.vold.client.RESTClient.


The documentation for this interface was generated from the following file: