Class FlushCommand


  • public class FlushCommand
    extends Command
    This command flushes all unwritten data from the buffer manager to disk. A sync is not performed.
    • Nested Class Summary

    • Field Summary

      • Fields inherited from class edu.caltech.nanodb.commands.Command

        out
    • Constructor Summary

      Constructors 
      Constructor Description
      FlushCommand()
      Construct a new FLUSH command.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(NanoDBServer server)
      Actually performs the command.
      java.lang.String toString()
      Prints a simple representation of the flush command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FlushCommand

        public FlushCommand()
        Construct a new FLUSH command.
    • Method Detail

      • toString

        public java.lang.String toString()
        Prints a simple representation of the flush command.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representing this flush command