com.ibm.events.datastore

Class DataStoreMetaData

  • java.lang.Object
    • com.ibm.events.util.impl.ComponentMetaDataImpl
      • com.ibm.events.datastore.DataStoreMetaData
  • All Implemented Interfaces:
    ComponentMetaData, java.io.Serializable


    public class DataStoreMetaData
    extends com.ibm.events.util.impl.ComponentMetaDataImpl
    implements ComponentMetaData, java.io.Serializable
    This class provides meta data specific to the data store comment. Using this class the Common event infrastructure server can understand what functions the data store provides
    Since:
    6.0.0
    Version:
    1.2 11/10/05
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int PURGE_EVENTS_BY_ID
      Event purge in event access uses multiple DataStoreLocal.purgeEvents(String[]) calls to purge events from the data store.
      static int PURGE_EVENTS_BY_SELECTOR
      Event purge in event access uses a single DataStoreLocal.purgeEvents(String,int) call to purge events from the data store.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DataStoreMetaData(java.lang.String providerName, int ceiMajorVersion, int ceiMinorVersion, int ceiPtfVersion, int cbeMajorVersion, int cbeMinorVersion, int cbePtfVersion)
      Creates a new DataStoreMetaData object.
    • Field Detail

      • PURGE_EVENTS_BY_ID

        public static final int PURGE_EVENTS_BY_ID
        Event purge in event access uses multiple DataStoreLocal.purgeEvents(String[]) calls to purge events from the data store.
        See Also:
        Constant Field Values
      • PURGE_EVENTS_BY_SELECTOR

        public static final int PURGE_EVENTS_BY_SELECTOR
        Event purge in event access uses a single DataStoreLocal.purgeEvents(String,int) call to purge events from the data store.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataStoreMetaData

        public DataStoreMetaData(java.lang.String providerName,
                         int ceiMajorVersion,
                         int ceiMinorVersion,
                         int ceiPtfVersion,
                         int cbeMajorVersion,
                         int cbeMinorVersion,
                         int cbePtfVersion)
        Creates a new DataStoreMetaData object.
        Parameters:
        providerName - the component provider name
        ceiMajorVersion - the component provider major version number
        ceiMinorVersion - the component provider minor version number
        ceiPtfVersion - the component provider PTF version number
        cbeMajorVersion - the common base event API major version number
        cbeMinorVersion - the common base event API minor version number
        cbePtfVersion - the common base event API PTF version number
    • Method Detail

      • setBatchInsertSupported

        public void setBatchInsertSupported(boolean batchInsertSupported)
        Sets the batch insert support flag.
        Parameters:
        batchInsertSupported - Boolean to set batch insert support
      • isBatchInsertSupported

        public boolean isBatchInsertSupported()
        Gets the batch insert support flag.
        Returns:
        true if batch inserts are supported. false otherwise.
      • setEventUpdateSupported

        public void setEventUpdateSupported(boolean eventUpdateSupported)
        Sets the event update support flag.
        Parameters:
        eventUpdateSupported - Boolean to set event update support
      • isEventUpdateSupported

        public boolean isEventUpdateSupported()
        Gets the event update support flag.
        Returns:
        true if event updates are supported. false otherwise.
      • setPurgeVersion

        public void setPurgeVersion(int purgeVersion)
        Sets the version of purge that is supported. This should be either PURGE_EVENTS_BY_ID or PURGE_EVENTS_BY_SELECTOR
        Parameters:
        purgeVersion - The purge version supported by the data store.
      • getPurgeVersion

        public int getPurgeVersion()
        Gets the version of purge that is supported.
        Returns:
        The purge version that is supported.
IBM Business Process ManagerTM
Release 8