Class MemoryConfiguration

java.lang.Object
com.github.copilot.rpc.MemoryConfiguration

public class MemoryConfiguration extends Object
Configuration for session memory.

Controls whether the session can read and write persistent memory.

Since:
1.6.0
  • Constructor Details

    • MemoryConfiguration

      public MemoryConfiguration()
  • Method Details

    • getEnabled

      public boolean getEnabled()
      Gets whether memory is enabled for the session.
      Returns:
      true if memory is enabled, false otherwise
    • setEnabled

      public MemoryConfiguration setEnabled(boolean enabled)
      Sets whether memory is enabled for the session.
      Parameters:
      enabled - true to enable memory, false to disable
      Returns:
      this config for method chaining