Class OConsoleCommandStream

java.lang.Object
com.orientechnologies.common.console.OConsoleCommandStream
All Implemented Interfaces:
OCloseable, OCommandStream

public class OConsoleCommandStream extends Object implements OCommandStream
Author:
Luigi Dell'Aquila
  • Field Details

  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface OCommandStream
    • nextCommand

      public String nextCommand()
      Specified by:
      nextCommand in interface OCommandStream
    • close

      public void close()
      Description copied from interface: OCloseable
      Closes resources inside of call of OStorage#close(). So do not use locks when you call this method or you may have deadlock during storage close. This method is completely house keeping method and plays role of Object#finalize() in case of you need to clean up resources after storage is closed.
      Specified by:
      close in interface OCloseable
    • symbol

      public com.orientechnologies.common.console.OConsoleCommandStream.Symbol symbol(Character c)