object AsynchronousChannelHelper
A helper class to convert to AsynchronousByteChannel or AsynchronousFileChannel instances into org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
- Since
1.2
- Note
Requires Java 7 or greater.
- Alphabetic
- By Inheritance
- AsynchronousChannelHelper
- 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
channelToInputStream(asynchronousFileChannel: AsynchronousFileChannel): AsyncInputStream
Converts a AsynchronousFileChannel into a AsyncInputStream
Converts a AsynchronousFileChannel into a AsyncInputStream
- asynchronousFileChannel
the AsynchronousFileChannel
- returns
the AsyncInputStream
-
def
channelToInputStream(asynchronousByteChannel: AsynchronousByteChannel): AsyncInputStream
Converts a AsynchronousByteChannel into a AsyncInputStream
Converts a AsynchronousByteChannel into a AsyncInputStream
- asynchronousByteChannel
the AsynchronousByteChannel
- returns
the AsyncInputStream
-
def
channelToOutputStream(asynchronousFileChannel: AsynchronousFileChannel): AsyncOutputStream
Converts a AsynchronousFileChannel into a AsyncOutputStream
Converts a AsynchronousFileChannel into a AsyncOutputStream
- asynchronousFileChannel
the AsynchronousFileChannel
- returns
the AsyncOutputStream
-
def
channelToOutputStream(asynchronousByteChannel: AsynchronousByteChannel): AsyncOutputStream
Converts a AsynchronousByteChannel into a AsyncOutputStream
Converts a AsynchronousByteChannel into a AsyncOutputStream
- asynchronousByteChannel
the AsynchronousByteChannel
- returns
the AsyncOutputStream
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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] )
-
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
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()
-
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
- @native() @throws( ... )
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: