クラス
java.nio.channels.FileChannel.MapModeの使用
FileChannel.MapModeを使用するパッケージ
パッケージ
説明
入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。
 Javaから直接、低レベルで効率的な外部メモリー/ファンクション・アクセスをサポートするクラス。
- 
java.nio.channelsでのFileChannel.MapModeの使用FileChannel.MapModeとして宣言されたjava.nio.channelsのフィールド修飾子と型フィールド説明static FileChannel.MapModeFileChannel.MapMode.PRIVATE非公開(copy-on-write)マッピング用モードです。static FileChannel.MapModeFileChannel.MapMode.READ_ONLY読込み専用マッピング用モードです。static FileChannel.MapModeFileChannel.MapMode.READ_WRITE読み込み/書込みマッピング用モードです。型FileChannel.MapModeのパラメータを持つjava.nio.channelsのメソッド修飾子と型メソッド説明abstract MappedByteBufferFileChannel.map(FileChannel.MapMode mode, long position, long size)このチャネルのファイルの領域を直接メモリーにマッピングします。
- 
jdk.incubator.foreignでのFileChannel.MapModeの使用型FileChannel.MapModeのパラメータを持つjdk.incubator.foreignのメソッド修飾子と型メソッド説明static MemorySegmentMemorySegment.mapFile(Path path, long bytesOffset, long bytesSize, FileChannel.MapMode mapMode)指定されたパスからファイルのメモリー・マップ・リージョンをモデル化する、新しい制限付きマップ・メモリー・セグメントを作成します。
- 
jdk.nio.mapmodeでのFileChannel.MapModeの使用FileChannel.MapModeとして宣言されたjdk.nio.mapmodeのフィールド修飾子と型フィールド説明static FileChannel.MapModeExtendedMapMode.READ_ONLY_SYNC非揮発性RAMによってバックされたファイルの読取り専用マッピングのファイル・マッピング・モード。static FileChannel.MapModeExtendedMapMode.READ_WRITE_SYNC非揮発性RAMに基づくファイルの読取り/書込みマッピング用のファイル・マッピング・モード。