mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 12:05:21 +02:00
[305272] [dstore][multithread] log close in ServerLogger
This commit is contained in:
parent
31fcc11018
commit
b8e48979dc
2 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,10 @@ package org.eclipse.dstore.core.server;
|
|||
|
||||
/**
|
||||
* @since 3.0
|
||||
* @noimplement This interface is not intended to be implemented by clients.
|
||||
* Server logger implementations must subclass
|
||||
* {@link ServerLogger} rather than implementing this
|
||||
* interface directly.
|
||||
*/
|
||||
public interface IServerLogger
|
||||
{
|
||||
|
@ -55,6 +59,7 @@ public interface IServerLogger
|
|||
|
||||
/**
|
||||
* closeLogFileStream
|
||||
* @since 3.1
|
||||
*/
|
||||
public void closeLogFileStream();
|
||||
}
|
||||
|
|
|
@ -106,6 +106,9 @@ public class ServerLogger implements IServerLogger
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 3.1
|
||||
*/
|
||||
public void closeLogFileStream(){
|
||||
if (_logFileStream != null){
|
||||
_logFileStream.close();
|
||||
|
|
Loading…
Add table
Reference in a new issue