HazelcastCloudAddressTranslator(HazelcastCloudDiscovery hazelcastCloudDiscovery, LoggingService loggingService) { this.hazelcastCloudDiscovery = hazelcastCloudDiscovery; this.logger = loggingService.getLogger(HazelcastCloudAddressTranslator.class); }
HazelcastCloudAddressProvider(HazelcastCloudDiscovery cloudDiscovery, LoggingService loggingService) { this.cloudDiscovery = cloudDiscovery; this.logger = loggingService.getLogger(HazelcastCloudAddressProvider.class); }
public DiscoveryAddressProvider(DiscoveryService discoveryService, LoggingService loggingService) { this.discoveryService = discoveryService; logger = loggingService.getLogger(DiscoveryAddressProvider.class); }
public DiscoveryAddressProvider(DiscoveryService discoveryService, LoggingService loggingService) { this.discoveryService = discoveryService; logger = loggingService.getLogger(DiscoveryAddressProvider.class); }
AbstractJobProxy(T container, long jobId) { this.jobId = jobId; this.container = container; this.logger = loggingService().getLogger(Job.class); }
public ManagementCenterPublisher( @Nonnull LoggingService loggingService, @Nonnull ObjLongConsumer<byte[]> writeFn ) { this.consumer = writeFn; logger = loggingService.getLogger(getClass()); reset(INITIAL_BUFFER_SIZE); }
TransactionProxy(HazelcastClientInstanceImpl client, TransactionOptions options, ClientConnection connection) { this.options = options; this.client = client; this.connection = connection; this.logger = client.getLoggingService().getLogger(TransactionProxy.class); }
TransactionProxy(HazelcastClientInstanceImpl client, TransactionOptions options, ClientConnection connection) { this.options = options; this.client = client; this.connection = connection; this.logger = client.getLoggingService().getLogger(TransactionProxy.class); }
public void run() { try { runnable.run(); } catch (Throwable t) { loggingService.getLogger(MockIOService.class).severe(t); } } }.start();
private Diagnostics initDiagnostics() { String name = "diagnostics-client-" + id + "-" + currentTimeMillis(); ILogger logger = loggingService.getLogger(Diagnostics.class); return new Diagnostics(name, logger, instanceName, properties); }
public void run() { try { runnable.run(); } catch (Throwable t) { loggingService.getLogger(MockIOService.class).severe(t); } } }.start();
@Override public ILogger getLogger() { return client.getLoggingService().getLogger(getClass()); }
public void run() { try { runnable.run(); } catch (Throwable t) { loggingService.getLogger(MockIOService.class).severe(t); } } }.start();
private Diagnostics initDiagnostics() { String name = "diagnostics-client-" + id + "-" + currentTimeMillis(); ILogger logger = loggingService.getLogger(Diagnostics.class); return new Diagnostics(name, logger, instanceName, properties); }
public JobRepository(JetInstance jetInstance) { this.instance = jetInstance.getHazelcastInstance(); this.logger = instance.getLoggingService().getLogger(getClass()); this.randomIds = instance.getMap(RANDOM_IDS_MAP_NAME); this.jobRecords = instance.getMap(JOB_RECORDS_MAP_NAME); this.jobExecutionRecords = instance.getMap(JOB_EXECUTION_RECORDS_MAP_NAME); this.jobResults = instance.getMap(JOB_RESULTS_MAP_NAME); this.exportedSnapshotDetailsCache = instance.getMap(EXPORTED_SNAPSHOTS_DETAIL_CACHE); }
public final ILogger getLogger() { final String name = getClass().getName(); try { return instance.getLoggingService().getLogger(name); } catch (UnsupportedOperationException e) { // HazelcastInstance is instance of HazelcastClient. return Logger.getLogger(name); } } }
@Override public final ILogger getLogger() { final String name = getClass().getName(); try { return instance.getLoggingService().getLogger(name); } catch (UnsupportedOperationException e) { // HazelcastInstance is instance of HazelcastClient. return Logger.getLogger(name); } } }
@Override public final ILogger getLogger() { final String name = getClass().getName(); try { return instance.getLoggingService().getLogger(name); } catch (UnsupportedOperationException e) { // HazelcastInstance is instance of HazelcastClient. return Logger.getLogger(name); } } }
@Override public final ILogger getLogger() { final String name = getClass().getName(); try { return instance.getLoggingService().getLogger(name); } catch (UnsupportedOperationException e) { // HazelcastInstance is instance of HazelcastClient. return Logger.getLogger(name); } } }
private NioOutboundPipeline newOutboundPipeline(NioChannel channel) { int index = hashToIndex(nextOutputThreadIndex.getAndIncrement(), outputThreadCount); NioThread[] threads = outputThreads; if (threads == null) { throw new IllegalStateException("NioNetworking is shutdown!"); } return new NioOutboundPipeline( channel, threads[index], errorHandler, loggingService.getLogger(NioOutboundPipeline.class), ioBalancer); }