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[channels]
- Definition Classes
- FileChannel → ScatteringByteChannel → GatheringByteChannel → Channel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def force(metadata: Boolean): ZIO[Blocking, IOException, Unit]
-
final
def
getClass(): Class[_]
- 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(newPosition: Long): IO[Exception, Unit]
- def position: IO[IOException, Long]
- def read(dst: ByteBuffer, position: Long): ZIO[Blocking, Exception, Int]
-
final
def
read(capacity: Int): IO[Exception, Option[Chunk[Byte]]]
- Definition Classes
- ScatteringByteChannel
-
final
def
readBuffer(dst: Buffer[Byte]): IO[Exception, Option[Long]]
- Definition Classes
- ScatteringByteChannel
-
final
def
readBuffer(dsts: List[Buffer[Byte]]): IO[Exception, Option[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( ... )
-
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()
- def write(src: ByteBuffer, position: Long): ZIO[Blocking, Exception, Int]
-
final
def
write(src: Chunk[Byte]): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel
-
final
def
write(srcs: List[Chunk[Byte]]): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel
-
final
def
writeBuffer(src: Buffer[Byte]): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel
-
final
def
writeBuffer(srcs: List[Buffer[Byte]]): IO[Exception, Long]
- Definition Classes
- GatheringByteChannel