P-Grid v2.0a2 API Specification

Uses of Interface
p2p.basic.Key

Packages that use Key
p2p.basic   
p2p.storage   
 

Uses of Key in p2p.basic
 

Methods in p2p.basic that return Key
abstract  Key P2PFactory.generateKey(Object obj)
          Generate a Key instance compatible with the P2P implementation.
 Key KeyRange.getMax()
          Get the upper bound of the key range.
 Key KeyRange.getMin()
          Get the lower bound of the key range.
 

Methods in p2p.basic with parameters of type Key
 boolean P2P.isLocalPeerResponsible(Key key)
          Checks if the local peer is responsible for the given key.
 Peer P2P.lookup(Key key, long timeout)
          Get information on a peer.
 void P2P.route(Key[] keys, Message[] message)
          Send a message to peers based on several keys.
 void P2P.route(Key key, Message message)
          Send a message to a peer.
 boolean KeyRange.withinRange(Key key)
          Check whether key is inside the range.
 

Uses of Key in p2p.storage
 

Methods in p2p.storage that return Key
 Key TypeHandler.generateKey(Object obj)
          Generate a Key instance compatible with the P2P implementation.
 Key DataItem.getKey()
          Get the key index of the item.
 

Methods in p2p.storage with parameters of type Key
 DataItem TypeHandler.createDataItem(GUID guid, Key key, Peer host, Object data)
          Create a DataItem instance compatible with the Storage implementation.
 


P-Grid v2.0a2 API Specification

This is open source software distributed under the terms of the GNU General Public License, a copy of which is included in the file LICENSE. If not you can find the GPL at http://www.gnu.org/copyleft/gpl.txt