Andrei Budnik created MESOS-8706:
------------------------------------
Summary: Unify return type of `wait` and `destroy` containerizer
methods
Key: MESOS-8706
URL: https://issues.apache.org/jira/browse/MESOS-8706
Project: Mesos
Issue Type: Task
Reporter: Andrei Budnik
We want to unify return type of both `destroy` and `wait` methods for a
containerizer, because they depend on the same container termination promise in
our built-in mesos and docker containerizers. That gives us an opportunity to
simplify launch and destroy logic in composing containerizer.
The return type of `destroy()` methods should be changed from:
{code:java}
Future<bool> destroy(const ContainerID& containerId);
{code}
to
{code:java}
Future<Option<ContainerTermination>> destroy(const ContainerID&
containerId);{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)