Class ProgramMemoryStorageManager

java.lang.Object
com.smeup.kokos.sdk.rpgle.ProgramMemoryStorageManager
All Implemented Interfaces:
com.smeup.rpgparser.interpreter.IMemorySliceStorage, AutoCloseable

public class ProgramMemoryStorageManager extends Object implements com.smeup.rpgparser.interpreter.IMemorySliceStorage
Author:
mattia.bonardi This class handle the state of doped and rpgle programs
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.smeup.rpgparser.interpreter.IMemorySliceStorage

    com.smeup.rpgparser.interpreter.IMemorySliceStorage.Companion
  • Field Summary

    Fields inherited from interface com.smeup.rpgparser.interpreter.IMemorySliceStorage

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProgramMemoryStorageManager(com.smeup.kokos.sdk.model.ExecutionContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
     
    Map<String,com.smeup.rpgparser.interpreter.Value>
    load(com.smeup.rpgparser.interpreter.MemorySliceId msi)
     
    void
     
    void
     
    void
    store(com.smeup.rpgparser.interpreter.MemorySliceId msi, Map<String,? extends com.smeup.rpgparser.interpreter.Value> map)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProgramMemoryStorageManager

      public ProgramMemoryStorageManager(com.smeup.kokos.sdk.model.ExecutionContext context)
  • Method Details

    • open

      public void open()
      Specified by:
      open in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • load

      @NotNull public Map<String,com.smeup.rpgparser.interpreter.Value> load(@NotNull com.smeup.rpgparser.interpreter.MemorySliceId msi)
      Specified by:
      load in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • beginTrans

      public void beginTrans()
      Specified by:
      beginTrans in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • store

      public void store(@NotNull com.smeup.rpgparser.interpreter.MemorySliceId msi, Map<String,? extends com.smeup.rpgparser.interpreter.Value> map)
      Specified by:
      store in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • commitTrans

      public void commitTrans()
      Specified by:
      commitTrans in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • rollbackTrans

      public void rollbackTrans()
      Specified by:
      rollbackTrans in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface com.smeup.rpgparser.interpreter.IMemorySliceStorage