public interface CybernodeAdmin extends ServiceAdmin, ComputeResourceAdmin
Modifier and Type | Method and Description |
---|---|
ComputeResourceUtilization |
getComputeResourceUtilization(net.jini.id.Uuid serviceUuid)
Get the
ComputeResourceUtilization for an
instantiated service |
boolean |
getPersistentProvisioning()
Get whether the Cybernode supports persistent provisioning of
qualitative capabilities
|
int |
getRegistryPort()
Get the port that the Cybernode has started the RMI Registry on
|
Integer |
getServiceCount()
Get the number of services that this Cybernode has instantiated
|
Integer |
getServiceLimit()
Get the upper limit of services that this Cybernode can instantiate
|
void |
setPersistentProvisioning(boolean support)
Set whether the Cybernode supports persistent provisioning of
qualitative capabilities
|
void |
setServiceLimit(Integer count)
Set the upper limit of services that this Cybernode can instantiate
|
getJoinSet
getServiceBeanInstantiatorUuid, getServiceElement, getUpTime, setServiceElement
advertise, start, stop, unadvertise
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators
getComputeResourceUtilization, getResourceCapability
Integer getServiceLimit() throws RemoteException
RemoteException
- If communication errors happenvoid setServiceLimit(Integer count) throws RemoteException
count
- Integer indicating the upper limit of servicesRemoteException
- If communication errors happenInteger getServiceCount() throws RemoteException
RemoteException
- If communication errors happenboolean getPersistentProvisioning() throws RemoteException
RemoteException
- If communication errors happenvoid setPersistentProvisioning(boolean support) throws IOException
support
- Set to true if the Cybernode supports persistent
provisioning of qualitative capabilities otherwise, set falseRemoteException
- If communication errors happenIOException
int getRegistryPort() throws RemoteException
RemoteException
- If communication errors happenComputeResourceUtilization getComputeResourceUtilization(net.jini.id.Uuid serviceUuid) throws RemoteException
ComputeResourceUtilization
for an
instantiated serviceserviceUuid
- The Uuid
of an instantiated serviceComputeResourceAdmin.getComputeResourceUtilization()
.
If the identified service has been executed in it's own process, the returned value will represent the ComputeResourceUtilization for that process.
If no instantiated service can be found, a null is returned.
RemoteException
- If communication errors occurCopyright © 2007–2018 Rio Project. All rights reserved.