public interface ResourceManagerServices
Modifier and Type | Method and Description |
---|---|
void |
allocateResource(ResourceProfile resourceProfile)
Allocates a resource according to the resource profile.
|
Executor |
getAsyncExecutor()
Gets the async executor which executes outside of the main thread of the ResourceManager
|
UUID |
getLeaderID()
Gets the current leader id assigned at the ResourceManager.
|
Executor |
getMainThreadExecutor()
Gets the executor which executes in the main thread of the ResourceManager
|
UUID getLeaderID()
void allocateResource(ResourceProfile resourceProfile)
Executor getAsyncExecutor()
Executor getMainThreadExecutor()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.