Package com.sun.jna.platform.unix
Interface Resource
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classResource.Rlimit
 - 
Field SummaryFields Modifier and Type Field Description static intRLIMIT_ASAddress space limit.static intRLIMIT_CORELargest core file that can be created, in bytes.static intRLIMIT_CPUPer-process CPU limit, in seconds.static intRLIMIT_DATAMaximum size of data segment, in bytes.static intRLIMIT_FSIZELargest file that can be created, in bytes.static intRLIMIT_LOCKSMaximum number of file locks.static intRLIMIT_MEMLOCKLocked-in-memory address space.static intRLIMIT_MSGQUEUEMaximum bytes in POSIX message queues.static intRLIMIT_NICEMaximum nice priority allowed to raise to.static intRLIMIT_NLIMITSNumber ofrlimitvaluesstatic intRLIMIT_NOFILENumber of open files.static intRLIMIT_NPROCNumber of processes.static intRLIMIT_RSSLargest resident set size, in bytes.static intRLIMIT_RTPRIOstatic intRLIMIT_RTTIMEMaximum CPU time in microseconds that a process scheduled under a real-time scheduling policy may consume without making a blocking system call before being forcibly de-scheduled.static intRLIMIT_SIGPENDINGMaximum number of pending signals.static intRLIMIT_STACKMaximum size of stack segment, in bytes.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetrlimit(int resource, Resource.Rlimit rlim)intsetrlimit(int resource, Resource.Rlimit rlim)
 
- 
- 
- 
Field Detail- 
RLIMIT_CPUstatic final int RLIMIT_CPU Per-process CPU limit, in seconds.- See Also:
- Constant Field Values
 
 - 
RLIMIT_FSIZEstatic final int RLIMIT_FSIZE Largest file that can be created, in bytes.- See Also:
- Constant Field Values
 
 - 
RLIMIT_DATAstatic final int RLIMIT_DATA Maximum size of data segment, in bytes.- See Also:
- Constant Field Values
 
 - 
RLIMIT_STACKstatic final int RLIMIT_STACK Maximum size of stack segment, in bytes.- See Also:
- Constant Field Values
 
 - 
RLIMIT_COREstatic final int RLIMIT_CORE Largest core file that can be created, in bytes.- See Also:
- Constant Field Values
 
 - 
RLIMIT_RSSstatic final int RLIMIT_RSS Largest resident set size, in bytes. This affects swapping; processes that are exceeding their resident set size will be more likely to have physical memory taken from them.- See Also:
- Constant Field Values
 
 - 
RLIMIT_NOFILEstatic final int RLIMIT_NOFILE Number of open files.- See Also:
- Constant Field Values
 
 - 
RLIMIT_ASstatic final int RLIMIT_AS Address space limit.- See Also:
- Constant Field Values
 
 - 
RLIMIT_NPROCstatic final int RLIMIT_NPROC Number of processes.- See Also:
- Constant Field Values
 
 - 
RLIMIT_MEMLOCKstatic final int RLIMIT_MEMLOCK Locked-in-memory address space.- See Also:
- Constant Field Values
 
 - 
RLIMIT_LOCKSstatic final int RLIMIT_LOCKS Maximum number of file locks.- See Also:
- Constant Field Values
 
 - 
RLIMIT_SIGPENDINGstatic final int RLIMIT_SIGPENDING Maximum number of pending signals.- See Also:
- Constant Field Values
 
 - 
RLIMIT_MSGQUEUEstatic final int RLIMIT_MSGQUEUE Maximum bytes in POSIX message queues.- See Also:
- Constant Field Values
 
 - 
RLIMIT_NICEstatic final int RLIMIT_NICE Maximum nice priority allowed to raise to. Nice levels 19 .. -20 correspond to 0 .. 39 values of this resource limit.- See Also:
- Constant Field Values
 
 - 
RLIMIT_RTPRIOstatic final int RLIMIT_RTPRIO - See Also:
- Constant Field Values
 
 - 
RLIMIT_RTTIMEstatic final int RLIMIT_RTTIME Maximum CPU time in microseconds that a process scheduled under a real-time scheduling policy may consume without making a blocking system call before being forcibly de-scheduled.- See Also:
- Constant Field Values
 
 - 
RLIMIT_NLIMITSstatic final int RLIMIT_NLIMITS Number ofrlimitvalues- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getrlimitint getrlimit(int resource, Resource.Rlimit rlim)
 - 
setrlimitint setrlimit(int resource, Resource.Rlimit rlim)
 
- 
 
-