Class DBEventLogManager

    • Method Detail

      • propertiesChange

        public void propertiesChange​(JProperties properties)
        Description copied from interface: JPropertiesListener
        Invoked after properties have been modified in JCMS and save on disk.

        You cannot alter the value received in parameters.

        Note that properties parameter may be null, a limited set of site properties, or all site properties.

        To check that a property has been modified, reload the "current" property instead using channel.getProperties or channel.getProperty.

        Specified by:
        propertiesChange in interface JPropertiesListener
        Parameters:
        properties - the properties which have been submitted to change
      • onPostDelete

        public void onPostDelete​(DBData data,
                                 org.hibernate.event.PostDeleteEvent event,
                                 boolean firstTime)
        Description copied from interface: DBListener
        This method is called after a DBData has been deleted.
        Specified by:
        onPostDelete in interface DBListener
        Overrides:
        onPostDelete in class BasicDBListener
        Parameters:
        data - the deleted DBData. WARNING! In a JSync Cluster, when firstTime is false, this data will be null. In this case, to get information about this deleted data, you must use the event and in particular event.getId(), which returns the JPlatform ID of the data, and event.getDeletedState() which returns the attributes of the data.
        event - the event
        firstTime - true on the JSync replica on which the operation took place and false on the other replicas.
        See Also:
        DBListener.onPostDelete(DBData, PostDeleteEvent, boolean)
      • getReplicaUridSet

        public java.util.Set<java.lang.String> getReplicaUridSet()
      • handleAlarm

        public void handleAlarm​(AlarmEntry entry)
        Description copied from interface: AlarmListener
        Invoked when an alarm is triggered.
        Specified by:
        handleAlarm in interface AlarmListener
        Parameters:
        entry - the AlarmEntry which has been triggered.
      • processNewDBEventLogs

        public void processNewDBEventLogs​(java.lang.String sender)
      • getNewDBEventLogList

        protected java.util.List<DBEventLog> getNewDBEventLogList()
        Returns all the DBEventLog not yet processed by this replica.
        Returns:
        all the DBEventLog not yet processed by this replica (never return null).
        Since:
        jcms-6.0.0