Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
0 results Searching
Select Git revision
Loading items
Show changes

Commits on Source 2

1 file
+ 6
3
Compare changes
  • Side-by-side
  • Inline

Files

Original line number Diff line number Diff line
@@ -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;
    }
@@ -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
@@ -292,6 +294,7 @@ public class CollectorPool {
            return new ToStringBuilder(this)
                    .append("format", format)
                    .append("mode", mode)
                    .append("writable", writable)
                    .toString();
        }
    }