jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Turli <andrea.tu...@gmail.com>
Subject Re: How to set local properties in jclouds?
Date Fri, 15 Mar 2019 10:38:10 GMT
Hi Li Yudong,

I think you can do something similar to
https://github.com/jclouds/jclouds-examples/blob/master/compute-basics/src/main/java/org/jclouds/examples/compute/basics/MainApp.java#L267

adding something like this to the properties overrides you pass to your
Context

overrides.setProperty(Constants.PROPERTY_MAX_RETRIES,
Integer.toString(100));

HTH,
Andrea

On Fri, Mar 15, 2019 at 11:21 AM liyudong123@hotmail.com <
liyudong123@hotmail.com> wrote:

> Hi,
>
> As jclouds Documentation-Configuration describes, properties can be set
> before context built. What about local properties for example I'd like to
> set PROPERTY_MAX_RETRIES for a single command, is that possible?
>
> Thanks
> Li Yudong
>

Mime
View raw message