diff options
author | 2017-12-21 14:24:42 +0000 | |
---|---|---|
committer | 2017-12-21 14:24:42 +0000 | |
commit | a58324f0c62dfcad1cd36324e978ef656d74a9f6 (patch) | |
tree | 56a31c54613cedcb6452353285436818c1434cd6 /dmaap-listener/src/main | |
parent | 45321147b92ec556a4d41024dea0811fa6d8e40a (diff) | |
parent | 0d27d85eb387bd56b1f8dab34a9381bcc20db7d5 (diff) |
Merge "Fixed as per Java Code Conventions"
Diffstat (limited to 'dmaap-listener/src/main')
-rw-r--r-- | dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java index a9f5feda..2b416e7d 100644 --- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java +++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/SdncDmaapConsumer.java @@ -43,15 +43,6 @@ public abstract class SdncDmaapConsumer implements Runnable { private int fetchPause = 5000; // Default pause between fetch - 5 seconds private int timeout = 15000; // Default timeout - 15 seconds - public boolean isReady() { - return ready; - } - - - public boolean isRunning() { - return running; - } - public SdncDmaapConsumer() { } @@ -60,6 +51,14 @@ public abstract class SdncDmaapConsumer implements Runnable { init(properties, propertiesPath); } + public boolean isReady() { + return ready; + } + + public boolean isRunning() { + return running; + } + public String getProperty(String name) { return properties.getProperty(name, ""); } |