final class FileChannel extends GatheringByteChannel with ScatteringByteChannel
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileChannel
- ScatteringByteChannel
- GatheringByteChannel
- Channel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- val channel: java.nio.channels.FileChannel
- Attributes
- protected[zio.nio.channels]
- Definition Classes
- FileChannel → ScatteringByteChannel → GatheringByteChannel → Channel
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def close: IO[Exception, Unit]
- Definition Classes
- Channel
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def force(metadata: Boolean): ZIO[Blocking, IOException, Unit]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isOpen: UIO[Boolean]
Tells whether or not this channel is open.
Tells whether or not this channel is open.
- Definition Classes
- Channel
- def lock(position: Long = 0L, size: Long = Long.MaxValue, shared: Boolean = false): ZIO[Blocking, Exception, FileLock]
- def map(mode: MapMode, position: Long, size: Long): ZIO[Blocking, Exception, MappedByteBuffer]
- 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()
- def position: IO[IOException, Long]
- def read(dst: ByteBuffer, position: Long): ZIO[Blocking, Exception, Int]
- final def read(dsts: List[Chunk[Byte]]): IO[Exception, Long]
- Definition Classes
- ScatteringByteChannel
- final def read(dsts: List[Chunk[Byte]], offset: Int, length: Int): IO[Exception, Long]
- Definition Classes
- ScatteringByteChannel
- def size: IO[IOException, Long]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transferFrom(src: ScatteringByteChannel, position: Long, count: Long): ZIO[Blocking, Exception, Long]
- def transferTo(position: Long, count: Long, target: GatheringByteChannel): ZIO[Blocking, Exception, Long]
- def truncate(size: Long): ZIO[Blocking, Exception, Unit]
- def tryLock(position: Long = 0L, size: Long = Long.MaxValue, shared: Boolean = false): IO[Exception, Option[FileLock]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def write(src: ByteBuffer, position: Long): ZIO[Blocking, Exception, Int]
- final def write(srcs: List[Chunk[Byte]]): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel
- final def write(srcs: List[Chunk[Byte]], offset: Int, length: Int): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel