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