de.fu_berlin.ties
Interface Closeable
- All Known Implementing Classes:
- CollectingProcessor, ShuffleGenerator, TaskRunner, TrainEval
public interface Closeable
Classes implementing this interface announce that they should be closed
for releasing all resources and stopping any background activity.
The creator of a closeable instance is responsible for calling the
close(int)
when the instance is no longer in use.
- Version:
- $Revision: 1.4 $, $Date: 2004/05/18 14:06:41 $, $Author: siefkes $
- Author:
- Christian Siefkes
Method Summary |
void |
close(int errorCount)
Closes this instance, releasing all resources and stopping any
background threads. |
close
void close(int errorCount)
throws IOException,
ProcessingException
- Closes this instance, releasing all resources and stopping any
background threads.
- Parameters:
errorCount
- the number of errors (exceptions) that occurred during
calls to this instance (0 if none)
- Throws:
IOException
- if an I/O error occurs
ProcessingException
- if an error occurs during processing any
remaining input
Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.