Class ScomDataConnection


  • public class ScomDataConnection
    extends Object
    Special class for holding SCOM process data with necessary components from native code.
    The SCOM process will be initialized in constructor of this class.
    Clients should manage life cycle of SCOM process data - for destroying data call release() in appropriate time. After destroying anything call of ScomProcessDataConnection#getScomData() return null.

    Be carefully - creation instance of this class is heavy operation.

    • Constructor Detail

      • ScomDataConnection

        public ScomDataConnection​(INativeScomProcessDataConnection scomDataConnection)
        Constructor
        Parameters:
        scomDataConnection - special interface for getting address SCOM process data from native code, can't be null
    • Method Detail

      • getScomData

        public long getScomData()
        Gets actual SCOM process data address with necessary components
        Returns:
        actual SCOM process data address with necessary components or null if release() has been called earlier
      • release

        public void release()
        Frees memory of SCOM process Data (special v8 mechanism for loading different components)