class FileDependency extends CacheDependency
FileDependency class is used to provide file based dependency to the user. If items are dependent on that file the items will be removed on file update.
- Alphabetic
- By Inheritance
- FileDependency
- CacheDependency
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
FileDependency(fileNames: List[String], startAfter: Date)
Initializes a new instance of the FileExpiration class that monitors an list of file paths (to files or directories) for changes and specifies a time when change monitoring begins.
Initializes a new instance of the FileExpiration class that monitors an list of file paths (to files or directories) for changes and specifies a time when change monitoring begins.
- fileNames
The file names that are to be monitored.
- startAfter
The time after which the file/files will be monitored.
- Exceptions thrown
-
new
FileDependency(fileName: String, startAfter: Date)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes and indicates when change tracking is to begin.
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes and indicates when change tracking is to begin.
- fileName
The filename along with the path that is to be monitored.
- startAfter
The time after which the file will be monitored.
- Exceptions thrown
-
new
FileDependency(fileNames: List[String])
Initializes a new instance of the FileExpiration class that monitors a list of file paths (to files or directories) for changes.
Initializes a new instance of the FileExpiration class that monitors a list of file paths (to files or directories) for changes.
- fileNames
The file names that are to be monitored.
- Exceptions thrown
-
new
FileDependency(fileName: String)
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes.
Initializes a new instance of the FileExpiration class that monitors a file or directory for changes.
- fileName
The filename along with the path that is to be monitored.
- Exceptions thrown
- new FileDependency(internalFileDependency: NCFileDependency)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getFileNames: Iterable[String]
Gets the list of file names.
Gets the list of file names.
- returns
The list of file names associated with the dependency.
-
def
getStartAfterTicks: Long
Gets the time after which dependency is to be started.
Gets the time after which dependency is to be started.
- returns
The ticks after which dependency is starated.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated