|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContainerAllocator
General interface for container allocators.
| Method Summary | |
|---|---|
void |
addListener(ContainerAllocatorListener listener)
Adds the ContainerAllocatorListener. |
void |
allocateContainers(ContainerAllocateData containerAllocateData)
Allocate new containers. |
void |
allocateContainers(int count)
Allocate new containers. |
void |
releaseContainer(ContainerId containerId)
Release container. |
void |
releaseContainers(List<Container> containers)
Release containers. |
void |
setProgress(float progress)
Sets the current progress of application. |
| Method Detail |
|---|
void allocateContainers(int count)
count - the new container count to allocatevoid allocateContainers(ContainerAllocateData containerAllocateData)
containerAllocateData - the ContainerAllocateDatavoid releaseContainers(List<Container> containers)
containers - the containersvoid releaseContainer(ContainerId containerId)
containerId - the container idvoid addListener(ContainerAllocatorListener listener)
ContainerAllocatorListener.
listener - the ContainerAllocatorListenervoid setProgress(float progress)
progress - the current progress of application
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||