Package network.aika

Interface SuspensionHook


  • public interface SuspensionHook
    The suspension hook is used to suspend neurons and logic nodes to an external storage in order to reduce the memory footprint. !!! Important: When using the suspension hook, all references to a neuron or a logic node need to occur through a provider. Otherwise the reference might be outdated.
    Author:
    Lukas Molzberger
    • Method Detail

      • getNewId

        int getNewId()
      • store

        void store​(int id,
                   String label,
                   Set<String> modelLabels,
                   boolean isNeuron,
                   byte[] data)
      • retrieve

        byte[] retrieve​(int id)
      • delete

        void delete​(String label,
                    int id)