public interface ResourceAllocator
Modifier and Type | Method and Description |
---|---|
void |
acquire(scala.collection.Seq<String> addrs)
Acquire a sequence of resource addresses (to a launched task), these addresses must be
available.
|
scala.collection.Seq<String> |
assignedAddrs()
Sequence of currently assigned resource addresses.
|
scala.collection.Seq<String> |
availableAddrs()
Sequence of currently available resource addresses.
|
void |
release(scala.collection.Seq<String> addrs)
Release a sequence of resource addresses, these addresses must have been assigned.
|
scala.collection.Seq<String> |
resourceAddresses() |
String |
resourceName() |
void acquire(scala.collection.Seq<String> addrs)
addrs
- (undocumented)scala.collection.Seq<String> assignedAddrs()
scala.collection.Seq<String> availableAddrs()
void release(scala.collection.Seq<String> addrs)
addrs
- (undocumented)scala.collection.Seq<String> resourceAddresses()
String resourceName()