Package | Description |
---|---|
org.apache.tomcat.jni |
Modifier and Type | Method and Description |
---|---|
static long |
Shm.attach(String filename,
long pool)
Attach to a shared memory segment that was created
by another process.
|
static long |
Global.childInit(String fname,
long pool)
Re-open a mutex in a child process.
|
static long |
Lock.childInit(String fname,
long pool)
Re-open a mutex in a child process.
|
static long |
Poll.create(int size,
long p,
int flags,
long ttl)
Setup a pollset object.
|
static long |
Registry.create(int root,
String name,
int sam,
long pool)
Create or open a Registry Key.
|
static long |
Procattr.create(long cont)
Create and initialize a new procattr variable
|
static long |
Mmap.create(long file,
long offset,
long size,
int flag,
long pool)
Create a new mmap'ed file out of an existing APR file.
|
static long |
Shm.create(long reqsize,
String filename,
long pool)
Create and make accessible a shared memory segment.
|
static long |
Global.create(String fname,
int mech,
long pool)
Create and initialize a mutex that can be used to synchronize both
processes and threads.
|
static long |
Lock.create(String fname,
int mech,
long pool)
Create and initialize a mutex that can be used to synchronize processes.
|
static long |
Mmap.dup(long mmap,
long pool)
Duplicate the specified MMAP.
|
static long |
File.dup(long newFile,
long oldFile,
long pool)
Duplicate the specified file descriptor.
|
static String[] |
Registry.enumKeys(long key)
Enumerate the Registry subkeys
|
static String[] |
Registry.enumValues(long key)
Enumerate the Registry values
|
static int |
File.getc(long thefile)
Read a character from the specified file.
|
static String[] |
Registry.getValueA(long key,
String name)
Get the Registry value for REG_MULTI_SZ
|
static byte[] |
Registry.getValueB(long key,
String name)
Get the Registry value for REG_BINARY
|
static int |
Registry.getValueI(long key,
String name)
Get the Registry value for REG_DWORD
|
static long |
Registry.getValueJ(long key,
String name)
Get the Registry value for REG_QWORD or REG_DWORD
|
static String |
Registry.getValueS(long key,
String name)
Get the Registry value for REG_SZ or REG_EXPAND_SZ
|
static long |
User.gid(String groupname,
long p)
Get the groupid for a specified group name
This function is available only if APR_HAS_USER is defined.
|
static long |
User.gidCurrent(long p)
Get the groupid of the calling process
This function is available only if APR_HAS_USER is defined.
|
static String |
User.groupname(long groupid,
long p)
Get the group name for a specified groupid
This function is available only if APR_HAS_USER is defined.
|
static String |
User.homepath(String username,
long p)
Get the home directory for the named user
This function is available only if APR_HAS_USER is defined.
|
static long |
File.mktemp(String templ,
int flags,
long pool)
Open a temporary file
|
static long |
Mmap.offset(long mm,
long offset)
Move the pointer into the mmap'ed file to the specified offset.
|
static long |
Registry.open(int root,
String name,
int sam,
long pool)
Opens the specified Registry Key.
|
static long |
File.open(String fname,
int flag,
int perm,
long pool)
Open the specified file.
|
static long |
Directory.open(String dirname,
long pool)
Open the specified directory.
|
static long |
File.pipeTimeoutGet(long thepipe)
Get the timeout value for a pipe or manipulate the blocking state.
|
static long |
File.seek(long thefile,
int where,
long offset)
Move the read/write file offset to a specified byte within a file.
|
static long |
User.uid(String username,
long p)
Get the userid for the specified username
This function is available only if APR_HAS_USER is defined.
|
static long |
User.uidCurrent(long p)
Get the userid (and groupid) of the calling process
This function is available only if APR_HAS_USER is defined.
|
static long |
User.usergid(String username,
long p)
Get the groupid for the specified username
This function is available only if APR_HAS_USER is defined.
|
static String |
User.username(long userid,
long p)
Get the user name for a specified userid
This function is available only if APR_HAS_USER is defined.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.