Skip to content

Commit

Permalink
Rename path() method to file() and fix the Rolling test
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-lawrey committed Apr 6, 2016
1 parent d6ca946 commit c8ba5ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -100,7 +100,7 @@ public interface ChronicleQueue extends Closeable {
* @return the base path where ChronicleQueue stores its data. * @return the base path where ChronicleQueue stores its data.
*/ */
@NotNull @NotNull
File path(); File file();


/** /**
* Dump a Queue in YAML format. * Dump a Queue in YAML format.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/openhft/chronicle/queue/RollCycles.java
Expand Up @@ -18,7 +18,7 @@
import net.openhft.chronicle.core.Maths; import net.openhft.chronicle.core.Maths;


public enum RollCycles implements RollCycle { public enum RollCycles implements RollCycle {
SECONDLY("yyyyMMdd-HHmmss", 1000, 1 << 10, 16), // SECONDLY("yyyyMMdd-HHmmss", 1000, 1 << 10, 16),
MINUTELY("yyyyMMdd-HHmm", 60 * 1000, 2 << 10, 16), // 64 million entries per minute MINUTELY("yyyyMMdd-HHmm", 60 * 1000, 2 << 10, 16), // 64 million entries per minute
HOURLY("yyyyMMdd-HH", 60 * 60 * 1000, 4 << 10, 16), // 256 million entries per hour. HOURLY("yyyyMMdd-HH", 60 * 60 * 1000, 4 << 10, 16), // 256 million entries per hour.
TEST_DAILY("yyyyMMdd", 24 * 60 * 60 * 1000, 8, 1), // Only good for testing TEST_DAILY("yyyyMMdd", 24 * 60 * 60 * 1000, 8, 1), // Only good for testing
Expand Down
Expand Up @@ -109,7 +109,7 @@ public void clear() {
} }


@NotNull @NotNull
public File path() { public File file() {
return path; return path;
} }


Expand Down

0 comments on commit c8ba5ed

Please sign in to comment.