Class NatsConnectionFactoryConfig.JetStreamConfiguration.ObjectStoreConfiguration

java.lang.Object
io.micronaut.nats.connect.NatsConnectionFactoryConfig.JetStreamConfiguration.ObjectStoreConfiguration
Enclosing class:
NatsConnectionFactoryConfig.JetStreamConfiguration

@EachProperty("objectstore") public static class NatsConnectionFactoryConfig.JetStreamConfiguration.ObjectStoreConfiguration extends Object
Manages a single object store configuration.
  • Constructor Details

    • ObjectStoreConfiguration

      public ObjectStoreConfiguration(@Parameter String name)
  • Method Details

    • getBuilder

      public io.nats.client.api.ObjectStoreConfiguration.Builder getBuilder()
      get the object store configuration builder.
      Returns:
      object store configuration builder
    • toObjectStoreConfiguration

      public io.nats.client.api.ObjectStoreConfiguration toObjectStoreConfiguration()
      return the configuration as ObjectStoreConfiguration.
      Returns:
      nats object store configuration
    • isCreate

      public boolean isCreate()
      create object store during startup.
      Returns:
      true, if object store should be created at startup
      Since:
      4.4.0
    • setCreate

      public void setCreate(boolean create)
      create store during startup.
      Parameters:
      create - true to create object store during startup
      Since:
      4.4.0