final class FsLogger extends AnyRef
A logger for net.java.truevfs.ext.insight.stats.FsStatistics All operations get logged at offset zero.
- Annotations
- @ThreadSafe()
- Alphabetic
- By Inheritance
- FsLogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def current: FsStatistics
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def format(offset: Int): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logRead(nanos: Long, bytes: Int): IoStatistics
Logs a read operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a read operation with the given sample data and returns a new object to reflect the updated statistics. The sequence number of the returned object will be incremented and may eventually overflow to zero.
- nanos
the execution time in nanoseconds.
- bytes
the number of bytes read.
- returns
A new object which reflects the updated statistics.
- Exceptions thrown
IllegalArgumentException
if any parameter value is negative.
-
def
logSync(nanos: Long): SyncStatistics
Logs a sync operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a sync operation with the given sample data and returns a new object to reflect the updated statistics. The sequence number of the returned object will be incremented and may eventually overflow to zero.
- nanos
the execution time in nanoseconds.
- returns
A new object which reflects the updated statistics.
- Exceptions thrown
IllegalArgumentException
if any parameter value is negative.
-
def
logWrite(nanos: Long, bytes: Int): IoStatistics
Logs a write operation with the given sample data and returns a new object to reflect the updated statistics.
Logs a write operation with the given sample data and returns a new object to reflect the updated statistics. The sequence number of the returned object will be incremented and may eventually overflow to zero.
- nanos
the execution time in nanoseconds.
- bytes
the number of bytes written.
- returns
A new object which reflects the updated statistics.
- Exceptions thrown
IllegalArgumentException
if any parameter is negative.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def rotate(): Int
- val size: Int
- def stats(offset: Int): FsStatistics
-
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( ... )