Skip to content

Commit

Permalink
Added some Javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
luccioman committed Dec 16, 2016
1 parent 0f9d9b9 commit b5711b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/net/yacy/search/Shutdown.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,19 @@

import net.yacy.cora.util.ConcurrentLog;

/**
* Thread used to trigger the server shutdown after a given delay.
*/
public class Shutdown extends Thread {
private final Switchboard sb;
private final long delay;
private final String reason;

/**
* @param sb Switchboard instance
* @param delay delay in milliseconds
* @param reason shutdown reason for log information
*/
public Shutdown(final Switchboard sb, final long delay, final String reason) {
super(Shutdown.class.getSimpleName());
this.sb = sb;
Expand Down

0 comments on commit b5711b8

Please sign in to comment.