io.atomix.primitive.PrimitiveManagementService Java Examples
The following examples show how to use
io.atomix.primitive.PrimitiveManagementService.
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: CrdtValueDelegate.java From atomix with Apache License 2.0 | 5 votes |
public CrdtValueDelegate(String name, Serializer serializer, CrdtProtocolConfig config, PrimitiveManagementService managementService) { this.clusterEventService = managementService.getEventService(); this.executorService = managementService.getExecutorService(); this.valueSerializer = serializer; this.timestampProvider = config.getTimestampProvider(); this.subject = String.format("atomix-crdt-value-%s", name); subscribeFuture = clusterEventService.subscribe(subject, SERIALIZER::decode, this::updateValue, executorService); broadcastFuture = executorService.scheduleAtFixedRate( this::broadcastValue, config.getGossipInterval().toMillis(), config.getGossipInterval().toMillis(), TimeUnit.MILLISECONDS); }
Example #2
Source File: DefaultDistributedNavigableMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultDistributedNavigableMapBuilder(String name, DistributedNavigableMapConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #3
Source File: DistributedSortedSetType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedSortedSetBuilder<E> newBuilder(String name, DistributedSortedSetConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedSortedSetBuilder<>(name, config, managementService); }
Example #4
Source File: DistributedListBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected DistributedListBuilder(String name, DistributedListConfig config, PrimitiveManagementService managementService) { super(DistributedListType.instance(), name, config, managementService); }
Example #5
Source File: ValueBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected ValueBuilder(PrimitiveType primitiveType, String name, C config, PrimitiveManagementService managementService) { super(primitiveType, name, config, managementService); }
Example #6
Source File: AtomicValueBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected AtomicValueBuilder(String name, AtomicValueConfig config, PrimitiveManagementService managementService) { super(AtomicValueType.instance(), name, config, managementService); }
Example #7
Source File: DistributedNavigableSetType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedNavigableSetBuilder<E> newBuilder(String name, DistributedNavigableSetConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedNavigableSetBuilder<>(name, config, managementService); }
Example #8
Source File: DefaultDistributedSetBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultDistributedSetBuilder(String name, DistributedSetConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #9
Source File: WorkQueueBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected WorkQueueBuilder(String name, WorkQueueConfig config, PrimitiveManagementService managementService) { super(WorkQueueType.instance(), name, config, managementService); }
Example #10
Source File: DistributedQueueBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected DistributedQueueBuilder(String name, DistributedQueueConfig config, PrimitiveManagementService managementService) { super(DistributedQueueType.instance(), name, config, managementService); }
Example #11
Source File: DistributedSetBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected DistributedSetBuilder(String name, DistributedSetConfig config, PrimitiveManagementService managementService) { super(DistributedSetType.instance(), name, config, managementService); }
Example #12
Source File: DistributedLockType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedLockBuilder newBuilder(String name, DistributedLockConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedLockBuilder(name, config, managementService); }
Example #13
Source File: DistributedMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected DistributedMapBuilder(String name, DistributedMapConfig config, PrimitiveManagementService managementService) { super(DistributedMapType.instance(), name, config, managementService); }
Example #14
Source File: DefaultAtomicCounterBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultAtomicCounterBuilder(String name, AtomicCounterConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #15
Source File: DistributedMultimapBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected DistributedMultimapBuilder(String name, DistributedMultimapConfig config, PrimitiveManagementService managementService) { super(DistributedMultimapType.instance(), name, config, managementService); }
Example #16
Source File: DistributedNavigableMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DistributedNavigableMapBuilder(String name, DistributedNavigableMapConfig config, PrimitiveManagementService managementService) { super(DistributedNavigableMapType.instance(), name, config, managementService); }
Example #17
Source File: LeaderElectionBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected LeaderElectionBuilder(String name, LeaderElectionConfig config, PrimitiveManagementService managementService) { super(LeaderElectionType.instance(), name, config, managementService); }
Example #18
Source File: LeaderElectorType.java From atomix with Apache License 2.0 | 4 votes |
@Override public LeaderElectorBuilder<T> newBuilder(String name, LeaderElectorConfig config, PrimitiveManagementService managementService) { return new DefaultLeaderElectorBuilder<>(name, config, managementService); }
Example #19
Source File: DefaultAtomicNavigableMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultAtomicNavigableMapBuilder(String name, AtomicNavigableMapConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #20
Source File: DefaultAtomicCounterMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultAtomicCounterMapBuilder(String name, AtomicCounterMapConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #21
Source File: DefaultAtomicMapBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultAtomicMapBuilder(String name, AtomicMapConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #22
Source File: AtomicCounterType.java From atomix with Apache License 2.0 | 4 votes |
@Override public AtomicCounterBuilder newBuilder(String name, AtomicCounterConfig config, PrimitiveManagementService managementService) { return new DefaultAtomicCounterBuilder(name, config, managementService); }
Example #23
Source File: MapBuilder.java From atomix with Apache License 2.0 | 4 votes |
protected MapBuilder(PrimitiveType type, String name, C config, PrimitiveManagementService managementService) { super(type, name, config, managementService); }
Example #24
Source File: DefaultDistributedCounterBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultDistributedCounterBuilder(String name, DistributedCounterConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #25
Source File: DefaultDistributedMultisetBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultDistributedMultisetBuilder(String name, DistributedMultisetConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #26
Source File: AtomicSemaphoreType.java From atomix with Apache License 2.0 | 4 votes |
@Override public AtomicSemaphoreBuilder newBuilder(String name, AtomicSemaphoreConfig config, PrimitiveManagementService managementService) { return new DefaultAtomicSemaphoreBuilder(name, config, managementService); }
Example #27
Source File: DistributedSemaphoreType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedSemaphoreBuilder newBuilder(String name, DistributedSemaphoreConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedSemaphoreBuilder(name, config, managementService); }
Example #28
Source File: DefaultLeaderElectionBuilder.java From atomix with Apache License 2.0 | 4 votes |
public DefaultLeaderElectionBuilder(String name, LeaderElectionConfig config, PrimitiveManagementService managementService) { super(name, config, managementService); }
Example #29
Source File: DistributedCounterType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedCounterBuilder newBuilder(String name, DistributedCounterConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedCounterBuilder(name, config, managementService); }
Example #30
Source File: DistributedSortedMapType.java From atomix with Apache License 2.0 | 4 votes |
@Override public DistributedSortedMapBuilder<K, V> newBuilder(String name, DistributedSortedMapConfig config, PrimitiveManagementService managementService) { return new DefaultDistributedSortedMapBuilder<>(name, config, managementService); }