MCPcopy Create free account
hub / github.com/akeranen/the-one / ExternalEventsQueue

Method ExternalEventsQueue

input/ExternalEventsQueue.java:44–47  ·  view source on GitHub ↗

Creates a new Queue from a file @param filePath Path to the file where the events are read from. If file ends with extension defined in BinaryEventsReader#BINARY_EXT the file is assumed to be a binary file. @param nrofPreload How many events to preload @see BinaryEventsReader#BINARY_EXT @see

(String filePath, int nrofPreload)

Source from the content-addressed store, hash-verified

42 * @see BinaryEventsReader#storeToBinaryFile(String, List)
43 */
44 public ExternalEventsQueue(String filePath, int nrofPreload) {
45 setNrofPreload(nrofPreload);
46 init(filePath);
47 }
48
49 /**
50 * Create a new Queue based on the given settings: {@link #PRELOAD_SETTING}

Callers

nothing calls this directly

Calls 6

setNrofPreloadMethod · 0.95
initMethod · 0.95
containsMethod · 0.80
valueFillStringMethod · 0.80
getSettingMethod · 0.80
getIntMethod · 0.45

Tested by

no test coverage detected