Class TruncateOnCommit

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doIt​(BaseContainerHandle handle)  
      boolean equals​(java.lang.Object other)
      An equals method that returns true if the other obejct is a sub-class of this, and the container identities are equal *and* it is the same class as this.
      void update​(DerbyObservable obj, java.lang.Object arg)
      This is the callback method which is invoked when a change happens to the object which is being observed.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • commitAsWell

        private boolean commitAsWell
        Truncate on a commit as well.
    • Constructor Detail

      • TruncateOnCommit

        public TruncateOnCommit​(ContainerKey identity,
                                boolean commitAsWell)
    • Method Detail

      • update

        public void update​(DerbyObservable obj,
                           java.lang.Object arg)
        Description copied from interface: DerbyObserver
        This is the callback method which is invoked when a change happens to the object which is being observed.
        Parameters:
        obj - The object which is being observed
        arg - Extra information being passed to the callback
      • equals

        public boolean equals​(java.lang.Object other)
        Description copied from class: ContainerActionOnCommit
        An equals method that returns true if the other obejct is a sub-class of this, and the container identities are equal *and* it is the same class as this.
        This allows mutiple additions of value equality obejcts to the observer list while only retaining one.
        Overrides:
        equals in class ContainerActionOnCommit