case class DirMapping(incomingDir: Path, rootDir: Path, silkConfig: SilkConfig) extends StrictLogging with Product with Serializable
A class to periodically check for packed SiLK Flow files in the directory incomingDir. For
each source file, the file's contents is written to a target file in a directory hierarchy
rooted at the directory rootDir. The location of the target file is determined by the given
SilkConfig.
Filenames in incomingDir that begin with a dot are ignored.
The jobs() method returns an Iterable of PackFileJob instances where each instance spawns
a thread to process the records in a single file.
- incomingDir
The directory to check for incoming files.
- rootDir
The root of the directory where new files are created.
- Alphabetic
- By Inheritance
- DirMapping
- Serializable
- Serializable
- Product
- Equals
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DirMapping(incomingDir: Path, rootDir: Path, silkConfig: SilkConfig)
- incomingDir
The directory to check for incoming files.
- rootDir
The root of the directory where new files are created.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
JOB_ATTEMPTS: Int
The number of times to attempt a job (must be at least 1).
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val incomingDir: Path
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jobs(implicit conf: Configuration): Iterable[SilkFileJob]
Scans
incomingDirfor files.Scans
incomingDirfor files. Filenames that do not begin a dot and whose length is non-zero are added to an Iterable of SilkFileJobs. -
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val rootDir: Path
- val silkConfig: SilkConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()