Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    io.aeron.archive.client.ArchiveProxy(Publication)
    Use another constructor with an ExclusivePublication.
    io.aeron.archive.client.ArchiveProxy(Publication, IdleStrategy, NanoClock, long, int, CredentialsSupplier)
    Use another constructor with an ExclusivePublication.
    io.aeron.driver.media.UdpChannelTransport.sendError(int, IOException, InetSocketAddress)
    UdpChannelTransport.onSendError(IOException, InetSocketAddress, ErrorHandler) is used instead.
  • Deprecated Classes
    Class
    Description
    io.aeron.driver.PreferredMulticastFlowControl
    Use TaggedMulticastFlowControl instead
    io.aeron.driver.PreferredMulticastFlowControlSupplier
    Use TaggedMulticastFlowControlSupplier instead.
  • Deprecated Fields
    Field
    Description
    io.aeron.archive.Archive.Configuration.MAX_CATALOG_ENTRIES_DEFAULT
    io.aeron.archive.Archive.Configuration.MAX_CATALOG_ENTRIES_PROP_NAME
    Use Archive.Configuration.CATALOG_CAPACITY_PROP_NAME instead.
    io.aeron.driver.Configuration.SM_APPLICATION_SPECIFIC_FEEDBACK_PROP_NAME
  • Deprecated Methods
    Method
    Description
    io.aeron.Aeron.removeAvailableCounterHandler(AvailableCounterHandler)
    please use Aeron.removeAvailableCounterHandler(long).
    io.aeron.Aeron.removeCloseHandler(Runnable)
    please use Aeron.removeCloseHandler(long).
    io.aeron.Aeron.removeUnavailableCounterHandler(UnavailableCounterHandler)
    please use Aeron.removeUnavailableCounterHandler(long).
    io.aeron.archive.Archive.Configuration.maxCatalogEntries()
    Use Archive.Configuration.catalogCapacity() instead.
    io.aeron.archive.Archive.Context.deleteArchiveDirectory()
    io.aeron.archive.Archive.Context.maxCatalogEntries()
    This method was deprecated in favor of Archive.Context.catalogCapacity() which returns capacity of the Catalog in bytes rather than in number of entries.
    io.aeron.archive.Archive.Context.maxCatalogEntries(long)
    This method was deprecated in favor of Archive.Context.catalogCapacity(long) which works with bytes rather than number of entries.
    io.aeron.archive.ArchiveTool.maxEntries(File)
    Use ArchiveTool.capacity(File) instead.
    io.aeron.archive.ArchiveTool.maxEntries(File, long)
    Use ArchiveTool.capacity(File, long) instead.
    io.aeron.archive.status.RecordingPos.findCounterIdByRecording(CountersReader, long)
    Use RecordingPos.findCounterIdByRecording(CountersReader, long, long) instead.
    io.aeron.archive.status.RecordingPos.findCounterIdBySession(CountersReader, int)
    Use RecordingPos.findCounterIdBySession(CountersReader, int, long) instead.
    io.aeron.ChannelUriStringBuilder.sessionId()
    this method will not correctly handle tagged sessionId values that are outside the range of a signed 32-bit number. If this is called and a tagged value outside this range is currently held in this object, then the result will be the same as Long.intValue().
    io.aeron.cluster.ConsensusModule.Context.nameResolver()
    io.aeron.cluster.ConsensusModule.Context.nameResolver(NameResolver)
    io.aeron.driver.Configuration.applicationSpecificFeedback()
    see Configuration.groupTag().
    io.aeron.driver.DefaultNameResolver.resolveHook(String, String, InetAddress)
    No longer used for logging.
    io.aeron.driver.media.UdpChannelTransport.sendError(int, IOException, InetSocketAddress)
    UdpChannelTransport.onSendError(IOException, InetSocketAddress, ErrorHandler) is used instead.
    io.aeron.driver.MediaDriver.Context.applicationSpecificFeedback()
    io.aeron.driver.MediaDriver.Context.applicationSpecificFeedback(byte[])
    io.aeron.driver.NameResolver.init(MediaDriver.Context)
    Use NameResolver.init(CountersReader, CounterProvider) instead.
  • Deprecated Constructors
    Constructor
    Description
    io.aeron.archive.client.ArchiveProxy(Publication)
    Use another constructor with an ExclusivePublication.
    io.aeron.archive.client.ArchiveProxy(Publication, IdleStrategy, NanoClock, long, int, CredentialsSupplier)
    Use another constructor with an ExclusivePublication.
    io.aeron.driver.StaticDelayGenerator(long, boolean)
    The shouldImmediatelyFeedback method has been removed from the interface so the immediatelyFeedback parameter is ignored. You can emulate the old behaviour with:
         new StaticDelayGenerator(0, MILLISECONDS.toNanos(10));
     
    If used for unicast delays, then this is not recommended and a short delay like the default Configuration.NAK_UNICAST_DELAY_DEFAULT_NS should be used.

Copyright © 2014-2025 Real Logic Limited. All Rights Reserved.