Skip to content

Commit

Permalink
[FLINK-5014] [RocksDB backend] Add toString for RocksDBStateBackend
Browse files Browse the repository at this point in the history
This closes apache#2760
  • Loading branch information
melentye authored and StephanEwen committed Nov 8, 2016
1 parent d390824 commit d450bee
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import java.io.ObjectOutputStream;
import java.net.URI;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Random;
Expand Down Expand Up @@ -447,4 +448,14 @@ public ColumnFamilyOptions getColumnOptions() {
}
return columnOptions;
}

@Override
public String toString() {
return "RocksDB State Backend {" +
"isInitialized=" + isInitialized +
", configuredDbBasePaths=" + Arrays.toString(configuredDbBasePaths) +
", initializedDbBasePaths=" + Arrays.toString(initializedDbBasePaths) +
", checkpointStreamBackend=" + checkpointStreamBackend +
'}';
}
}

0 comments on commit d450bee

Please sign in to comment.