reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Weimer <>
Subject Re: using NamedParameter to implement a no-arg boolean command-line option
Date Fri, 04 Dec 2015 21:48:13 GMT
On 2015-12-04 13:23, Tobin Baker wrote:
> Your workaround of using different main classes for each runtime is
> probably better than introducing a command-line option to choose the
> runtime.

If you do it properly, it also means that *someone else* can port your
app to other resource managers:

You could have a main class, e.g. `MyriaREEFMain` that expects a `REEF`
instance to be injected. In its `run()` method, it submits the Driver to
REEF. Now, instantiate `MyriaREEFMain` from the various entry points
using different runtime configurations.

Does this make sense?


View raw message