Package io.split.client
Class YamlLocalhostSplitFile
- java.lang.Object
-
- java.lang.Thread
-
- io.split.client.AbstractLocalhostSplitFile
-
- io.split.client.YamlLocalhostSplitFile
-
- All Implemented Interfaces:
Runnable
public class YamlLocalhostSplitFile extends AbstractLocalhostSplitFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class io.split.client.AbstractLocalhostSplitFile
_file, _splitFactory, _stop, _watcher
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description YamlLocalhostSplitFile(LocalhostSplitFactory localhostSplitFactory, String directory, String filenameYaml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SplitAndKey,LocalhostSplit>readOnSplits()-
Methods inherited from class io.split.client.AbstractLocalhostSplitFile
isStopped, registerWatcher, run, stopThread
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
YamlLocalhostSplitFile
public YamlLocalhostSplitFile(LocalhostSplitFactory localhostSplitFactory, String directory, String filenameYaml) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readOnSplits
public Map<SplitAndKey,LocalhostSplit> readOnSplits() throws IOException
- Specified by:
readOnSplitsin classAbstractLocalhostSplitFile- Throws:
IOException
-
-