Java Code Examples for net.engio.mbassy.bus.config.BusConfiguration#Default
The following examples show how to use
net.engio.mbassy.bus.config.BusConfiguration#Default .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StreamingContainer.java From Bats with Apache License 2.0 | 5 votes |
protected StreamingContainer(String containerId, StreamingContainerUmbilicalProtocol umbilical) { this.jvmName = java.lang.management.ManagementFactory.getRuntimeMXBean().getName(); this.components = new HashSet<>(); this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); this.singletons = new HashMap<>(); this.nodeRequests = new ArrayList<>(); logger.debug("instantiated StramChild {}", containerId); this.umbilical = umbilical; this.containerId = containerId; }
Example 2
Source File: StreamingContainerManager.java From Bats with Apache License 2.0 | 5 votes |
public StreamingContainerManager(LogicalPlan dag, boolean enableEventRecording, Clock clock) { this.clock = clock; this.vars = new FinalVars(dag, clock.getTime()); poolExecutor = Executors.newFixedThreadPool(4); // setup prior to plan creation for event recording if (enableEventRecording) { this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); } this.plan = new PhysicalPlan(dag, this); this.journal = new Journal(this); init(enableEventRecording); }
Example 3
Source File: StreamingContainerManager.java From Bats with Apache License 2.0 | 5 votes |
private StreamingContainerManager(CheckpointState checkpointedState, boolean enableEventRecording) { this.vars = checkpointedState.finals; this.clock = new SystemClock(); poolExecutor = Executors.newFixedThreadPool(4); this.plan = checkpointedState.physicalPlan; this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); this.journal = new Journal(this); init(enableEventRecording); }
Example 4
Source File: StreamingContainer.java From attic-apex-core with Apache License 2.0 | 5 votes |
protected StreamingContainer(String containerId, StreamingContainerUmbilicalProtocol umbilical) { this.jvmName = java.lang.management.ManagementFactory.getRuntimeMXBean().getName(); this.components = new HashSet<>(); this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); this.singletons = new HashMap<>(); this.nodeRequests = new ArrayList<>(); logger.debug("instantiated StramChild {}", containerId); this.umbilical = umbilical; this.containerId = containerId; }
Example 5
Source File: StreamingContainerManager.java From attic-apex-core with Apache License 2.0 | 5 votes |
public StreamingContainerManager(LogicalPlan dag, boolean enableEventRecording, Clock clock) { this.clock = clock; this.vars = new FinalVars(dag, clock.getTime()); poolExecutor = Executors.newFixedThreadPool(4); // setup prior to plan creation for event recording if (enableEventRecording) { this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); } this.plan = new PhysicalPlan(dag, this); this.journal = new Journal(this); init(enableEventRecording); }
Example 6
Source File: StreamingContainerManager.java From attic-apex-core with Apache License 2.0 | 5 votes |
private StreamingContainerManager(CheckpointState checkpointedState, boolean enableEventRecording) { this.vars = checkpointedState.finals; this.clock = new SystemClock(); poolExecutor = Executors.newFixedThreadPool(4); this.plan = checkpointedState.physicalPlan; this.eventBus = new MBassador<>(BusConfiguration.Default(1, 1, 1)); this.journal = new Journal(this); init(enableEventRecording); }