Skip to content

Commit

Permalink
Merge pull request Alluxio#4650 from PasaLab/Addjavadoc3
Browse files Browse the repository at this point in the history
[SMALLFIX] Add javadoc for JournalShutdownIntegrationTest#ClientThread
  • Loading branch information
aaudiber authored Jan 16, 2017
2 parents d1375db + 0e0bafd commit ef58f16
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,22 @@ class ClientThread implements Runnable {
private final int mOpType; // 0: create file
private final FileSystem mFileSystem;

/**
* Constructs the client thread.
*
* @param opType the create operation type
* @param fs a file system client to use for creating files
*/
public ClientThread(int opType, FileSystem fs) {
mOpType = opType;
mFileSystem = fs;
}

/**
* Gets the number of files which are successfully created.
*
* @return the number of files successfully created
*/
public int getSuccessNum() {
return mSuccessNum;
}
Expand Down

0 comments on commit ef58f16

Please sign in to comment.