Java I / O prioritization

I would like to use Vista + feature for I / O priority . Is there a platform-independent way of setting I / O priority for an operation in Java (for example, in a library in Java 7), or do I need to return to the solution of a sleeping filter or JNx? Do other platforms have a similar feature?

+3
source share
3 answers

This is something that is difficult to support Java, because it is highly dependent on the capabilities of the underlying operating system. Java is very difficult to offer APIs that work the same on multiple platforms. (This does not always succeed, but this is a different topic.)

Java API Windows, Linux, Solaris . -, ​​ , .

, Java, ; Process script JVM.

+2

, Java, Java JNI, JVM C/++ -. ( ) Java.

+3

google , Java IO .

Windows Vista , . ?

Linux 2.6.13 ionice (1), - .

+2

Source: https://habr.com/ru/post/1713527/


All Articles