public final class Archive extends Object implements AutoCloseable
Publications .| Modifier and Type | Class and Description |
|---|---|
static class |
Archive.Configuration
Configuration for system properties and defaults.
|
static class |
Archive.Context
Overrides for the defaults and system properties.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Archive.Context |
context()
Get the
Archive.Context that is used by this Archive. |
AgentInvoker |
invoker()
Get the
AgentInvoker for the archive if it is running in ArchiveThreadingMode.INVOKER. |
static Archive |
launch()
Launch an Archive using a default configuration.
|
static Archive |
launch(Archive.Context ctx)
Launch an Archive by providing a configuration context.
|
static void |
main(String[] args)
Launch an
Archive with that communicates with an out of process MediaDriver
and await a shutdown signal. |
public static void main(String[] args)
Archive with that communicates with an out of process MediaDriver
and await a shutdown signal.args - command line argument which is a list for properties files as URLs or filenames.public Archive.Context context()
Archive.Context that is used by this Archive.Archive.Context that is used by this Archive.public void close()
close in interface AutoCloseablepublic AgentInvoker invoker()
AgentInvoker for the archive if it is running in ArchiveThreadingMode.INVOKER.AgentInvoker for the archive if it is running in ArchiveThreadingMode.INVOKER
otherwise null.public static Archive launch()
public static Archive launch(Archive.Context ctx)
ctx - for the configuration parameters.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.