com.sun.spot.resourcesharing
Class ProxyResourceRegistryMaster
java.lang.Object
com.sun.spot.resourcesharing.ProxyResourceRegistryMaster
public class ProxyResourceRegistryMaster
- extends Object
RESOURCE_REGISTRY_SERVER
public static final String RESOURCE_REGISTRY_SERVER
- See Also:
- Constant Field Values
ProxyResourceRegistryMaster
public ProxyResourceRegistryMaster()
lock
public boolean lock(int isolateId,
String resourceName,
ResourceSharingScheme scheme)
throws ResourceUnavailableException
- Throws:
ResourceUnavailableException
register
public void register(String resourceName)
unlock
public void unlock(int isolateId,
String resourceName,
ResourceSharingScheme scheme)
unlockAllResourcesHeldByIsolate
public void unlockAllResourcesHeldByIsolate(int isolateId)
adjustLock
public void adjustLock(int isolateId,
String resourceName,
ResourceSharingScheme oldScheme,
ResourceSharingScheme newScheme)
throws ResourceUnavailableException
- Throws:
ResourceUnavailableException
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.