/** * Creates a new local distribution manager * * @param system * The distributed system to which this distribution manager * will send messages. * */ public LonerDistributionManager(InternalDistributedSystem system, InternalLogWriter logger) { this.system = system; this.logger = logger; this.id = generateMemberId(); this.allIds = Collections.singleton(id); this.viewMembers = new ArrayList<InternalDistributedMember>(allIds); DistributionStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics(); }
/** * Creates a new local distribution manager * * @param system * The distributed system to which this distribution manager * will send messages. * */ public LonerDistributionManager(InternalDistributedSystem system, LogWriterI18n logger) { this.system = system; this.logger = logger; this.id = generateMemberId(); this.allIds = Collections.singleton(id); this.viewMembers = new Vector(allIds); DistributionStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics(); JChannel.setDefaultGFFunctions(new GFJGBasicAdapter()); }
public ConnectionStats(StatisticsFactory factory, String name) { stats = factory.createAtomicStatistics(type, name); InternalDistributedSystem sys = (InternalDistributedSystem)factory; GemFireStatSampler sampler = sys.getStatSampler(); samplingEnabled = sampler != null && sampler.isSamplingEnabled(); setClockStats(sys.getConfig().getEnableTimeStatistics(), false); }
public ConnectionStats(StatisticsFactory factory, String name) { stats = factory.createAtomicStatistics(type, name); InternalDistributedSystem sys = (InternalDistributedSystem)factory; GemFireStatSampler sampler = sys.getStatSampler(); samplingEnabled = sampler != null && sampler.isSamplingEnabled(); setClockStats(sys.getConfig().getEnableTimeStatistics(), false); }
public ConnectionStats(StatisticsFactory factory, String name) { stats = factory.createAtomicStatistics(type, name); InternalDistributedSystem sys = (InternalDistributedSystem)factory; GemFireStatSampler sampler = sys.getStatSampler(); samplingEnabled = sampler != null && sampler.isSamplingEnabled(); setClockStats(sys.getConfig().getEnableTimeStatistics(), false); }
m.put(KEY_MEMBER_TIME_STATS_ENABLED, internalDS.getConfig().getEnableTimeStatistics());
.getConfig().getEnableTimeStatistics(); DistributionStats.enableClockStats = timeStatsEnabled; CachePerfStats.enableClockStats = timeStatsEnabled;
.getConfig().getEnableTimeStatistics(); DistributionStats.enableClockStats = timeStatsEnabled; CachePerfStats.enableClockStats = timeStatsEnabled;
.getConfig().getEnableTimeStatistics(); DistributionStats.enableClockStats = timeStatsEnabled; CachePerfStats.enableClockStats = timeStatsEnabled;
CachePerfStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics();
CachePerfStats.enableClockStats = this.system.getConfig().getEnableTimeStatistics();
DistributionStats.enableClockStats = system.getConfig().getEnableTimeStatistics();
DistributionStats.enableClockStats = system.getConfig().getEnableTimeStatistics();
this.udpFragmentSize = other.getUdpFragmentSize(); this.disableTcp = other.getDisableTcp(); this.enableTimeStatistics = other.getEnableTimeStatistics(); this.memberTimeout = other.getMemberTimeout(); this.membershipPortRange = other.getMembershipPortRange();
assertEquals(data.isDisableTcp(), config.getDisableTcp()); assertEquals(data.isEnableTimeStatistics(), config .getEnableTimeStatistics()); assertEquals(data.isEnableNetworkPartitionDetection(), config .getEnableNetworkPartitionDetection());
this.udpFragmentSize = other.getUdpFragmentSize(); this.disableTcp = other.getDisableTcp(); this.enableTimeStatistics = other.getEnableTimeStatistics(); this.memberTimeout = other.getMemberTimeout(); this.membershipPortRange = other.getMembershipPortRange();