Class OConsoleCommandStream
java.lang.Object
com.orientechnologies.common.console.OConsoleCommandStream
- All Implemented Interfaces:
OCloseable,OCommandStream
- Author:
- Luigi Dell'Aquila
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BUFFER_SIZE
public static final int BUFFER_SIZE- See Also:
-
-
Constructor Details
-
OConsoleCommandStream
-
OConsoleCommandStream
- Throws:
FileNotFoundException
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceOCommandStream
-
nextCommand
- Specified by:
nextCommandin interfaceOCommandStream
-
close
public void close()Description copied from interface:OCloseableCloses 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:
closein interfaceOCloseable
-
symbol
-