|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cybernode
A Cybernode represents a compute resource as a service available through the network. The Cybernode represents the capabilities of compute resource through quantitative & qualitative mechanisms. Cybernode instances dynamically discover and enlist with dynamic provisioning agents, and provide a lightweight container to instantiate dynamic services.
| Method Summary | |
|---|---|
void |
enlist(Schedule schedule)
Have the Cybernode add itself as a resource which can be used to instantiate dynamic application services. |
Schedule |
getSchedule()
Get the availability schedule for the Cybernode. |
boolean |
isEnlisted()
Get the enlisted state of the Cybernode |
void |
release(boolean terminateServices)
Have the Cybernode remove itself as a resource which that can be used to instantiate dynamic application services. |
| Methods inherited from interface org.rioproject.core.provision.ServiceBeanInstantiator |
|---|
getInetAddress, getInstantiatorUuid, getName, getServiceBeanInstances, getServiceRecords, getServiceStatement, getServiceStatements, instantiate, update |
| Methods inherited from interface net.jini.admin.Administrable |
|---|
getAdmin |
| Methods inherited from interface org.rioproject.jsb.MonitorableService |
|---|
monitor, ping, startHeartbeat |
| Methods inherited from interface org.rioproject.event.EventProducer |
|---|
register |
| Methods inherited from interface org.rioproject.watch.Watchable |
|---|
fetch, fetch |
| Method Detail |
|---|
Schedule getSchedule()
throws RemoteException
null
RemoteException - If communication errors occur
void enlist(Schedule schedule)
throws RemoteException
schedule - The availability schedule for the Cybernode. The
Cybernode registers and unregisters to discovered Provision Manager
instances based on the declared schedule. The schedule must not be
null
NullPointerException - If the schedule parameter is null
RemoteException - If communication errors occur
void release(boolean terminateServices)
throws RemoteException
terminateServices - If this parameter is true, all
services which are being hosted by the Cybernode will be terminated as
a result of this method invocation
RemoteException - If communication errors occur
boolean isEnlisted()
throws RemoteException
RemoteException - If communication errors occur
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||