|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.peer.RemotePeer
org.hypergraphdb.peer.jxta.JXTARemotePeer
public class JXTARemotePeer
| Constructor Summary | |
|---|---|
JXTARemotePeer(net.jxta.document.Advertisement adv)
|
|
| Method Summary | |
|---|---|
HGHandle |
add(java.lang.Object atom)
Adds the atom on the remote peer. |
void |
copyFrom(HGPersistentHandle handle)
Copies the atom with a given handle from the remote peer to the local peer. |
void |
copyTo(HGHandle handle)
Copies the atom from a given handle from the local peer to the remote peer. |
void |
define(HGPersistentHandle handle,
java.lang.Object atom)
Similar to add but with a given handle |
java.lang.Object |
get(HGHandle handle)
|
java.util.ArrayList<?> |
query(HGQueryCondition condition,
boolean getObjects)
Executes a query on the remote peer |
HGHandle |
remove(HGPersistentHandle handle)
Removes the handle from the remote peer. |
void |
replace(HGPersistentHandle handle,
java.lang.Object atom)
Replaces the atom with the given handle on the remote peer. |
| Methods inherited from class org.hypergraphdb.peer.RemotePeer |
|---|
endBatch, flushBatch, getLocalPeer, getName, insideBatch, setLocalPeer, setName, startBatch, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JXTARemotePeer(net.jxta.document.Advertisement adv)
| Method Detail |
|---|
public java.util.ArrayList<?> query(HGQueryCondition condition,
boolean getObjects)
RemotePeer
query in class RemotePeercondition - a HGQueryCondition to be executed on the remote peer.getObjects - if true the actual objects are returned, otherwise the client
will just get a set of handles.
public java.lang.Object get(HGHandle handle)
get in class RemotePeerhandle - The handle of the atom to be retrieved
public void copyFrom(HGPersistentHandle handle)
RemotePeer
copyFrom in class RemotePeerpublic HGHandle add(java.lang.Object atom)
RemotePeer
add in class RemotePeeratom - The atom to be added
public void define(HGPersistentHandle handle,
java.lang.Object atom)
RemotePeer
define in class RemotePeerpublic void copyTo(HGHandle handle)
RemotePeer
copyTo in class RemotePeerpublic HGHandle remove(HGPersistentHandle handle)
RemotePeer
remove in class RemotePeerhandle - the handle to remove from the remote peer.
public void replace(HGPersistentHandle handle,
java.lang.Object atom)
RemotePeer
replace in class RemotePeerhandle - the handle of the atom to be replacedatom - the new atom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||