APIdia Launch Partner
Top Fields Constructors Methods
sun.nio.ch

public final Class IOStatus

extends Object
Class Inheritance
Imports
java.lang.annotation.Native

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
check(int n)

public static boolean
check(long n)

public static boolean
checkAll(long n)

public static int
normalize(int n)

public static long
normalize(long n)

pack-priv static boolean
okayToRetry(long n)

Returns true if the error code is UNAVAILABLE or INTERRUPTED, the error codes to indicate that an I/O operation can be retried.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EOFback to summary
public static final int EOF
Annotations
@Native
INTERRUPTEDback to summary
public static final int INTERRUPTED
Annotations
@Native
THROWNback to summary
public static final int THROWN
Annotations
@Native
UNAVAILABLEback to summary
public static final int UNAVAILABLE
Annotations
@Native
UNSUPPORTEDback to summary
public static final int UNSUPPORTED
Annotations
@Native
UNSUPPORTED_CASEback to summary
public static final int UNSUPPORTED_CASE
Annotations
@Native

Constructor Detail

IOStatusback to summary
private IOStatus()

Method Detail

checkback to summary
public static boolean check(int n)
checkback to summary
public static boolean check(long n)
checkAllback to summary
public static boolean checkAll(long n)
normalizeback to summary
public static int normalize(int n)
normalizeback to summary
public static long normalize(long n)
okayToRetryback to summary
pack-priv static boolean okayToRetry(long n)

Returns true if the error code is UNAVAILABLE or INTERRUPTED, the error codes to indicate that an I/O operation can be retried.