Tabnine Logo
LoggingService
Code IndexAdd Tabnine to your IDE (free)

How to use
LoggingService
in
com.hazelcast.logging

Best Java code snippets using com.hazelcast.logging.LoggingService (Showing top 20 results out of 315)

origin: hazelcast/hazelcast-jet

HazelcastCloudAddressTranslator(HazelcastCloudDiscovery hazelcastCloudDiscovery, LoggingService loggingService) {
  this.hazelcastCloudDiscovery = hazelcastCloudDiscovery;
  this.logger = loggingService.getLogger(HazelcastCloudAddressTranslator.class);
}
origin: hazelcast/hazelcast-jet

HazelcastCloudAddressProvider(HazelcastCloudDiscovery cloudDiscovery, LoggingService loggingService) {
  this.cloudDiscovery = cloudDiscovery;
  this.logger = loggingService.getLogger(HazelcastCloudAddressProvider.class);
}
origin: hazelcast/hazelcast-jet

public DiscoveryAddressProvider(DiscoveryService discoveryService, LoggingService loggingService) {
  this.discoveryService = discoveryService;
  logger = loggingService.getLogger(DiscoveryAddressProvider.class);
}
origin: com.hazelcast/hazelcast-all

public DiscoveryAddressProvider(DiscoveryService discoveryService, LoggingService loggingService) {
  this.discoveryService = discoveryService;
  logger = loggingService.getLogger(DiscoveryAddressProvider.class);
}
origin: hazelcast/hazelcast-jet

AbstractJobProxy(T container, long jobId) {
  this.jobId = jobId;
  this.container = container;
  this.logger = loggingService().getLogger(Job.class);
}
origin: hazelcast/hazelcast-jet

public ManagementCenterPublisher(
    @Nonnull LoggingService loggingService,
    @Nonnull ObjLongConsumer<byte[]> writeFn
) {
  this.consumer = writeFn;
  logger = loggingService.getLogger(getClass());
  reset(INITIAL_BUFFER_SIZE);
}
origin: hazelcast/hazelcast-jet

TransactionProxy(HazelcastClientInstanceImpl client, TransactionOptions options, ClientConnection connection) {
  this.options = options;
  this.client = client;
  this.connection = connection;
  this.logger = client.getLoggingService().getLogger(TransactionProxy.class);
}
origin: com.hazelcast/hazelcast-all

TransactionProxy(HazelcastClientInstanceImpl client, TransactionOptions options, ClientConnection connection) {
  this.options = options;
  this.client = client;
  this.connection = connection;
  this.logger = client.getLoggingService().getLogger(TransactionProxy.class);
}
origin: com.hazelcast.simulator/tests-hz36

  public void run() {
    try {
      runnable.run();
    } catch (Throwable t) {
      loggingService.getLogger(MockIOService.class).severe(t);
    }
  }
}.start();
origin: hazelcast/hazelcast-jet

private Diagnostics initDiagnostics() {
  String name = "diagnostics-client-" + id + "-" + currentTimeMillis();
  ILogger logger = loggingService.getLogger(Diagnostics.class);
  return new Diagnostics(name, logger, instanceName, properties);
}
origin: com.hazelcast.simulator/tests-hz38

  public void run() {
    try {
      runnable.run();
    } catch (Throwable t) {
      loggingService.getLogger(MockIOService.class).severe(t);
    }
  }
}.start();
origin: hazelcast/hazelcast-jet

@Override
public ILogger getLogger() {
  return client.getLoggingService().getLogger(getClass());
}
origin: com.hazelcast.simulator/tests-hz37

  public void run() {
    try {
      runnable.run();
    } catch (Throwable t) {
      loggingService.getLogger(MockIOService.class).severe(t);
    }
  }
}.start();
origin: com.hazelcast/hazelcast-all

private Diagnostics initDiagnostics() {
  String name = "diagnostics-client-" + id + "-" + currentTimeMillis();
  ILogger logger = loggingService.getLogger(Diagnostics.class);
  return new Diagnostics(name, logger, instanceName, properties);
}
origin: hazelcast/hazelcast-jet

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);
}
origin: com.hazelcast/hazelcast-hibernate4

  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);
    }
  }
}
origin: com.hazelcast/hazelcast-hibernate52

  @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);
    }
  }
}
origin: com.hazelcast/hazelcast-hibernate5

  @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);
    }
  }
}
origin: com.hazelcast/hazelcast-all

  @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);
    }
  }
}
origin: hazelcast/hazelcast-jet

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);
}
com.hazelcast.loggingLoggingService

Most used methods

  • getLogger
  • addLogListener

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Option (scala)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now