Package com.cdata

Class CData

java.lang.Object
com.cdata.CData
All Implemented Interfaces:
AutoCloseable

public class CData extends Object implements AutoCloseable
  • Constructor Details

    • CData

      public CData(String schemaString, String mappedFile)
    • CData

      public CData(String mappedFile, int timeout)
    • CData

      public CData(String schemaString, String mappedFile, int timeout, boolean isProducer)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • setData

      public void setData()
    • waitOnStateChange

      public int waitOnStateChange()
    • updateData

      public boolean updateData()
    • trigger

      public void trigger()
    • openMap

      public boolean openMap()
    • setValueFloatById

      public void setValueFloatById(int id, float value)
    • setValueDoubleById

      public void setValueDoubleById(int id, double value)
    • setValueIntById

      public void setValueIntById(int id, int value)
    • setValueBoolById

      public void setValueBoolById(int id, boolean value)
    • setValueUint64ById

      public void setValueUint64ById(int id, long value)
    • getValueFloatById

      public float getValueFloatById(int id)
    • getValueDoubleById

      public double getValueDoubleById(int id)
    • getValueIntById

      public int getValueIntById(int id)
    • getValueBoolById

      public boolean getValueBoolById(int id)
    • getValueUint64ById

      public long getValueUint64ById(int id)
    • setValueFloatByKey

      public void setValueFloatByKey(String key, float value)
    • setValueDoubleByKey

      public void setValueDoubleByKey(String key, double value)
    • setValueIntByKey

      public void setValueIntByKey(String key, int value)
    • setValueBoolByKey

      public void setValueBoolByKey(String key, boolean value)
    • setValueUint64ByKey

      public void setValueUint64ByKey(String key, long value)
    • getValueFloatByKey

      public float getValueFloatByKey(String key)
    • getValueDoubleByKey

      public double getValueDoubleByKey(String key)
    • getValueIntByKey

      public int getValueIntByKey(String key)
    • getValueBoolByKey

      public boolean getValueBoolByKey(String key)
    • getValueUint64ByKey

      public long getValueUint64ByKey(String key)