1 file + 6 − 3 Inline Compare changes Side-by-side Inline Show whitespace changes Files 1 hdbarchiver/src/main/java/org/tango/archiving/collector/CollectorPool.java +6 −3 Original line number Diff line number Diff line Loading @@ -149,11 +149,11 @@ public class CollectorPool { PollingMode pollingMode; if (config.getAttributeConfig().getFormat() != AttrDataFormat._SCALAR) { pollingMode = new PollingMode(config.getAttributeConfig().getFormat(), config.getModes()); config.getModes(), config.getAttributeConfig().getWriteType()); } else { // Scalar, one collector per archiving mode pollingMode = new PollingMode(config.getAttributeConfig().getFormat(), config.getModes()); config.getModes(), 0); } return pollingMode; } Loading Loading @@ -271,10 +271,12 @@ public class CollectorPool { private static class PollingMode { private final int format; private final String mode; private final int writable; public PollingMode(int format, InsertionModes mode) { public PollingMode(int format, InsertionModes mode, int writable) { this.format = format; this.mode = mode.toSimpleString(); this.writable= writable; } @Override Loading @@ -292,6 +294,7 @@ public class CollectorPool { return new ToStringBuilder(this) .append("format", format) .append("mode", mode) .append("writable", writable) .toString(); } } Loading
hdbarchiver/src/main/java/org/tango/archiving/collector/CollectorPool.java +6 −3 Original line number Diff line number Diff line Loading @@ -149,11 +149,11 @@ public class CollectorPool { PollingMode pollingMode; if (config.getAttributeConfig().getFormat() != AttrDataFormat._SCALAR) { pollingMode = new PollingMode(config.getAttributeConfig().getFormat(), config.getModes()); config.getModes(), config.getAttributeConfig().getWriteType()); } else { // Scalar, one collector per archiving mode pollingMode = new PollingMode(config.getAttributeConfig().getFormat(), config.getModes()); config.getModes(), 0); } return pollingMode; } Loading Loading @@ -271,10 +271,12 @@ public class CollectorPool { private static class PollingMode { private final int format; private final String mode; private final int writable; public PollingMode(int format, InsertionModes mode) { public PollingMode(int format, InsertionModes mode, int writable) { this.format = format; this.mode = mode.toSimpleString(); this.writable= writable; } @Override Loading @@ -292,6 +294,7 @@ public class CollectorPool { return new ToStringBuilder(this) .append("format", format) .append("mode", mode) .append("writable", writable) .toString(); } } Loading