brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bostko <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #332: JcloudsLocation: Ability to supply extern...
Date Mon, 19 Sep 2016 18:14:13 GMT
Github user bostko commented on a diff in the pull request:

    https://github.com/apache/brooklyn-server/pull/332#discussion_r79454371
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/location/cloud/CloudLocationConfig.java
---
    @@ -79,7 +81,13 @@
                 + "if 'false', will default to the node's first public IP (or privae if no
public IPs); "
                 + "if 'true' uses default duration; otherwise accepts a time string e.g.
'5m' (the default) or a number of milliseconds", "5m");
     
    -    public static final ConfigKey<String> WAIT_FOR_SSHABLE = ConfigKeys.newStringConfigKey("waitForSshable",

    +    ConfigKey<Predicate<HostAndPort>> POLL_FOR_FIRST_REACHABLE_ADDRESS_PREDICATE
= ConfigKeys.newConfigKey(new TypeToken<Predicate<HostAndPort>>(){}, "pollForFirstReachableAddress.predicate",
    +            "Predicate<HostAndPort> implementation which checks whether machine
is up or not.");
    +
    +    ConfigKey<Class<Predicate<HostAndPort>>> POLL_FOR_FIRST_REACHABLE_ADDRESS_PREDICATE_TYPE
= ConfigKeys.newConfigKey(new TypeToken<Class<Predicate<HostAndPort>>>(){},
"pollForFirstReachableAddress.predicate.type",
    --- End diff --
    
    compiler doesn't accept it that way.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message