/etc/grinda.properties
that contains the following properties:
- grinda.hosts: list of the available peers.
- grinda.defaultTuplebroker.className: default tuple broker class
- grinda.defaultTuplebroker.: property specific for the tuple broker class
- Version:
- 1.0
- Author:
- Sirio Capizzi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrindaContext
public GrindaContext()
getInstance
public static GrindaContext getInstance()
- Gets a new instance of this class
- Returns:
- GrindaContext
createTupleBroker
public ResourceKey createTupleBroker(java.lang.String spaceName,
TupleSpaceConfigurationParameter[] params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTupleBroker
public TupleBroker getTupleBroker(java.lang.String spaceName)
- Gets the tuplebroker associated with the given spaceName.
- Parameters:
spaceName
- String
- Returns:
- TupleBroker the specific broker or the default broker
getTupleSpaceSet
public TupleSpaceSet getTupleSpaceSet()
- The default TupleBroker of the system. If no broker is registered for
a space, tuples are forwarded using this broker
- Returns:
- TupleBroker
getBlockManager
public BlockingOperationManager getBlockManager()
getNotificationManager
public NotificationManager getNotificationManager()
getCommunicator
public PeerCommunicator getCommunicator()
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
getProperty
public java.lang.String getProperty(java.lang.String key)
initialize
public void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 Sirio Capizzi. All Rights Reserved.