congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AbstractStringRegistryReaderPlugin.deliverRecord
Code IndexAdd Tabnine to your IDE (free)

How to use
deliverRecord
method
in
kieker.analysis.plugin.reader.AbstractStringRegistryReaderPlugin

Best Java code snippets using kieker.analysis.plugin.reader.AbstractStringRegistryReaderPlugin.deliverRecord (Showing top 2 results out of 315)

origin: kieker-monitoring/kieker

private void readRegularRecord(final ByteBuffer buffer) {
  final long registryId = buffer.getLong();
  final int classId = buffer.getInt();
  final long loggingTimestamp = buffer.getLong();
  final ReaderRegistry<String> stringRegistry = this.getStringRegistry(registryId);
  try {
    final String recordClassName = stringRegistry.get(classId);
    final IRecordFactory<? extends IMonitoringRecord> recordFactory = this.cachedRecordFactoryCatalog.get(recordClassName);
    final IMonitoringRecord record = recordFactory.create(BinaryValueDeserializer.create(buffer, stringRegistry));
    record.setLoggingTimestamp(loggingTimestamp);
    this.reader.deliverRecord(record);
  } catch (final RecordInstantiationException e) {
    LOGGER.error("Error instantiating record", e);
  }
}
origin: net.kieker-monitoring/kieker

private void readRegularRecord(final ByteBuffer buffer) {
  final long registryId = buffer.getLong();
  final int classId = buffer.getInt();
  final long loggingTimestamp = buffer.getLong();
  final ILookup<String> stringRegistry = this.getStringRegistry(registryId);
  try {
    final String recordClassName = stringRegistry.get(classId);
    final IRecordFactory<? extends IMonitoringRecord> recordFactory = this.cachedRecordFactoryCatalog.get(recordClassName);
    final IMonitoringRecord record = recordFactory.create(DefaultValueDeserializer.create(buffer, stringRegistry));
    record.setLoggingTimestamp(loggingTimestamp);
    this.reader.deliverRecord(record);
  } catch (final RecordInstantiationException e) {
    LOG.error("Error instantiating record", e);
  }
}
kieker.analysis.plugin.readerAbstractStringRegistryReaderPlugindeliverRecord

Javadoc

Delivers the given record to the appropriate output port(s).

Popular methods of AbstractStringRegistryReaderPlugin

  • createCache
    Creates the cache to be used for storing string registries. This method can be overriden to use a pa
  • init

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • JFrame (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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