Index
All Classes|All Packages
A
- abort(Executor) - Method in class ra.db.MockConnection
- add(double, double) - Static method in class ra.util.Arith
-
Returns sum two values.
- addBatch(String) - Method in class ra.db.MockStatement
- addDefensive(DefensiveFunction) - Method in class ra.util.defensive.DefensiveWeapon
-
Create new Defensive Method.
- addFakeQuery(String[]) - Method in class ra.db.MockStatementExecutor
-
Add fake data.
- addFakeQuery(List<String>) - Method in class ra.db.MockStatementExecutor
-
Add fake data.
- addLogPathWithSaveDays(String, int) - Method in class ra.util.logging.LogDelete
-
Add the folder path to save Log file.
- addValue(String, byte[]) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, double) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, float) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, long) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, short) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, String) - Method in class ra.db.MockResultSet
-
Add specified field data.
- addValue(String, BigDecimal) - Method in class ra.db.MockResultSet
-
Add specified field data.
- appendFeedNewLine(String) - Static method in class ra.net.TransmissionEnd
-
Returns text that append FORM_FEED and NEW_LINE.
- applay(Connection) - Method in interface ra.db.DatabaseConnection.ConnectionFunction
-
Get current database connection.
- apply(T, U, O) - Method in interface ra.util.TernaryFunction
-
Ternary function.
- applyLocalizedPattern(String) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.applyLocalizedPattern(String)
. - applyPattern(String) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.applyPattern(String)
. - Arith - Class in ra.util
-
Since Java's primitive types cannot accurately perform operations on floating-point numbers, this tool class provides accurate floating-point operations, including addition, subtraction, multiplication, division, and rounding..
- AUTHORIZATION_F5 - Static variable in class ra.server.basis.CommandsVerification
-
authorization F5.
- AUTHORIZATION_MONITOR - Static variable in class ra.server.basis.CommandsVerification
-
authorization Monitor.
- AutoIncrement - Annotation Type in ra.util.annotation
-
Tag member field is autoIncrement.
- awake() - Method in class ra.net.MessageReceiver
-
Awake thread.
B
- BigInt - Annotation Type in ra.util.annotation
-
Tag member field is bigInt.
- BiReference<L,R> - Class in ra.ref
-
Pair reference.
- BiReference() - Constructor for class ra.ref.BiReference
-
Initialize.
- BiReference(L, R) - Constructor for class ra.ref.BiReference
-
Initialize.
- BooleanReference - Class in ra.ref
-
Boolean type of reference.
- BooleanReference() - Constructor for class ra.ref.BooleanReference
-
Initialize.
- BooleanReference(boolean) - Constructor for class ra.ref.BooleanReference
-
Initialize.
- broadcast(String) - Method in class ra.net.MessageSender
-
Broadcast message to all users.
- broadcast(String) - Method in class ra.server.basis.MockSendAdapter
- broadcast(String) - Method in class ra.server.basis.SenderAdapter
- broadcast(String, Map<String, T>) - Method in class ra.net.MessageSender
-
Broadcast message to all users.
- broadcast(String, Map<String, T>) - Method in class ra.server.basis.MockSendAdapter
- broadcast(String, Map<String, T>) - Method in class ra.server.basis.SenderAdapter
- build() - Method in class ra.db.parameter.H2Parameters.Builder
-
Build H2Parameters.
- build() - Method in class ra.db.parameter.MysqlParameters.Builder
-
build.
- build() - Method in class ra.net.NetService.Builder
-
build.
- build() - Method in class ra.net.NetService.NetRequest.Builder
-
build.
- build() - Method in class ra.net.NetSocketWriter.Builder
-
Initialize.
- build() - Method in class ra.net.NetSocketWriterKeep.Builder
-
Build NetSocketWriterKeep.
- build() - Method in class ra.net.nio.DataNetService.Builder
-
Initialize.
- build() - Method in class ra.net.nio.DataNetService.DataNetRequest.Builder
-
build.
- build() - Method in class ra.net.request.Request.Builder
-
build.
- build() - Method in class ra.server.basis.Common.Builder
-
Build Common.
- Builder() - Constructor for class ra.db.parameter.H2Parameters.Builder
- Builder() - Constructor for class ra.db.parameter.MysqlParameters.Builder
- Builder() - Constructor for class ra.net.NetService.Builder
- Builder() - Constructor for class ra.net.NetService.NetRequest.Builder
- Builder() - Constructor for class ra.net.NetSocketWriter.Builder
- Builder() - Constructor for class ra.net.NetSocketWriterKeep.Builder
- Builder() - Constructor for class ra.net.nio.DataNetService.Builder
- Builder() - Constructor for class ra.net.nio.DataNetService.DataNetRequest.Builder
- Builder() - Constructor for class ra.net.request.Request.Builder
- Builder() - Constructor for class ra.server.basis.Common.Builder
- buildRecord() - Method in class ra.db.JdbcExecutor
-
Returns instance of inheriting Record.
- Bytes - ra.util.SpaceUnit
-
Bytes.
- BYTES_ZERO - Static variable in class ra.net.TransmissionEnd
-
Bytes zero.
C
- cache() - Method in annotation type ra.util.annotation.RequestCommand
-
Enable cache instance of API service.
- cancel() - Method in class ra.db.MockStatement
- CaughtExceptionHandler - Class in ra.util
-
It is used to observe the log of calling Exception.printStackTrace() in the process.
- characteristics() - Method in class ra.db.record.RecordSpliterator
- clear() - Method in class ra.db.Row
-
Clear all value of a single row.
- clear() - Static method in class ra.server.basis.CommandsVerification
-
Clear all access token and commands.
- clearBatch() - Method in class ra.db.MockStatement
- clearFakeQuery() - Method in class ra.db.MockStatementExecutor
-
Clear all fake data.
- clearQueue() - Method in class ra.net.MessageReceiver
-
Clear queue all messages.
- clearQueue() - Method in class ra.net.nio.Sender
-
Clear message queue.
- clearQueue() - Method in class ra.net.SendProcessor
-
Clear message in queue.
- clearQueue() - Method in class ra.net.SendProcessorKeep
-
Clear message.
- clearWarnings() - Method in class ra.db.MockConnection
- clearWarnings() - Method in class ra.db.MockStatement
- clone() - Method in class ra.util.SimpleDateFormatThreadSafe
- close() - Method in class ra.db.connection.ConcurrentConnection
- close() - Method in class ra.db.connection.OnceConnection
- close() - Method in class ra.db.connection.OriginalConnection
- close() - Method in class ra.db.DatabaseConnections
-
Close all database connection.
- close() - Method in class ra.db.DatabaseHeartbeat
-
Close heart beat.
- close() - Method in class ra.db.MockConnection
- close() - Method in class ra.db.MockDatabaseConnections
- close() - Method in class ra.db.MockStatement
- close() - Method in class ra.db.MultiQuery
- close() - Method in class ra.db.record.RecordSet
-
Clear the catch data.
- close() - Method in class ra.net.DefaultUser
-
Close.
- close() - Method in class ra.net.MessageReceiver
-
Close thread.
- close() - Method in class ra.net.NetServerApplication
-
Finish application.
- close() - Method in class ra.net.NetService
-
close.
- close() - Method in class ra.net.NetSocketWriterKeep
-
Close connection and stop reconnect.
- close() - Method in class ra.net.nio.DataNetService
-
Close service.
- close() - Method in class ra.net.nio.DataSocket
-
Close connection.
- close() - Method in class ra.net.nio.Sender
-
Close and clear message queue.
- close() - Method in class ra.net.SendProcessor
-
Close and clear message in queue.
- close() - Method in class ra.net.SendProcessorKeep
-
Close sender.
- close() - Method in interface ra.net.User
-
Close.
- close() - Method in class ra.util.compression.GzipFileStringInput
- close() - Method in class ra.util.compression.GzipFileStringOutput
- close() - Method in class ra.util.compression.SnappyFileStringInput
- close() - Method in class ra.util.compression.SnappyFileStringOutput
- close() - Method in class ra.util.compression.StringFileOutput
- close() - Method in class ra.util.logging.LogDelete
-
Close.
- close() - Method in class ra.util.logging.LogEveryDay
-
Close record logs.
- close() - Method in class ra.util.logging.LogRecord
-
Close the Log file.
- closeOnCompletion() - Method in class ra.db.MockStatement
- CommandNotFoundException - Exception in ra.server.basis
-
When server with client transmission abnormal will throw
CommandNotFoundException
. - CommandNotFoundException(String) - Constructor for exception ra.server.basis.CommandNotFoundException
-
Initialize.
- commandProcess(NetService.NetRequest) - Method in class ra.net.processor.NetCommandProcessor
- commandProcess(DataNetService.DataNetRequest) - Method in class ra.net.processor.DataNetCommandProcessor
- commandProcess(T) - Method in interface ra.net.processor.CommandProcessorListener
-
Received message.
- CommandProcessorListener<T extends Request> - Interface in ra.net.processor
-
Process string command.
- CommandProcessorProvider<T extends Request> - Interface in ra.net.processor
-
Provide CommandProcessor.
- CommandsVerification - Class in ra.server.basis
-
Verify command mapping authorization.
- CommandsVerification() - Constructor for class ra.server.basis.CommandsVerification
- commit() - Method in class ra.db.MockConnection
- Common - Class in ra.server.basis
-
Common class.
- Common.Builder - Class in ra.server.basis
-
Builder.
- CompressionMode - Enum in ra.util.compression
-
Compression mode supported by log files.
- CompressionTimeUnit - Enum in ra.util.logging
-
The time unit of the file name in creates a compressed file.
- ConcurrentConnection - Class in ra.db.connection
-
Provide execute SQL statement using a keep database connection, and the connection is thread safe.
- ConcurrentConnection(DatabaseParameters) - Constructor for class ra.db.connection.ConcurrentConnection
-
Initialize.
- ConfigParser - Interface in ra.util.parser
-
Configuration loader.
- Configuration - Annotation Type in ra.util.annotation
-
Server configuration annotation.
- connect() - Method in class ra.db.connection.ConcurrentConnection
-
Connect to database.
- connect() - Method in class ra.db.connection.MockConcurrentConnection
- connect() - Method in class ra.db.connection.MockOnceConnection
- connect() - Method in class ra.db.connection.MockOriginalConnection
- connect() - Method in class ra.db.connection.OnceConnection
-
Get the connection state.
- connect() - Method in class ra.db.connection.OriginalConnection
-
Connect to database.
- connect() - Method in interface ra.db.DatabaseConnection
-
Get the connection state.
- connect() - Method in class ra.net.NetSocketWriterKeep
-
Connect to server.
- connect(String, int) - Method in class ra.net.nio.DataSocket
-
Connect to remote server.
- connect(String, int, int, int) - Method in class ra.net.nio.DataSocket
-
Connect to remote server.
- connect(String, int, int, int, Consumer<IOException>) - Method in class ra.net.nio.DataSocket
-
Connect to remote server.
- connect(String, int, Consumer<IOException>) - Method in class ra.net.nio.DataSocket
-
Connect to remote server.
- connect(DatabaseParameters, int, Callable<DatabaseConnection>) - Method in class ra.db.DatabaseConnections
-
Create Kept connections.
- connect(DatabaseParameters, int, Callable<DatabaseConnection>) - Method in class ra.db.MockDatabaseConnections
- connectConcurrentConnection(DatabaseParameters, int) - Method in class ra.db.DatabaseConnections
-
Create the Connect Object are kept connected.
- connectIf(Consumer<StatementExecutor>) - Method in interface ra.db.DatabaseConnection
-
If database connection connected return
StatementExecutor
. - ConnectionSetupable - Interface in ra.db.parameter
-
Set default connection settings after connecting to a database.
- connectOriginalConnection(DatabaseParameters, int) - Method in class ra.db.DatabaseConnections
-
There is non lock when executes SQL, probable return error results when execute insert.
- connectOriginalConnection(DatabaseParameters, int) - Method in class ra.db.MockDatabaseConnections
- convert(long, SpaceUnit) - Method in enum ra.util.SpaceUnit
-
For example, to convert 2048 bytes to KB, use: SpaceUnit.KB.convert(2048L, SpaceUnit.Bytes).
- convert(ResultSet) - Method in class ra.db.record.RecordSet
-
Convert the result of a query.
- convert(ResultSet) - Method in interface ra.db.record.ResultConverter
-
Convert the result of a query.
- convertDecimal(double, SpaceUnit) - Method in enum ra.util.SpaceUnit
-
For example, to convert 2048 bytes to KB, use: SpaceUnit.KB.convert(2048L, SpaceUnit.Bytes).
- copyToBytes(byte[], int) - Static method in enum ra.net.nio.DataType
-
Converts the data type to bytes.
- createArrayOf(String, Object[]) - Method in class ra.db.MockConnection
- createBlob() - Method in class ra.db.MockConnection
- createClob() - Method in class ra.db.MockConnection
- createCommand() - Method in interface ra.net.processor.CommandProcessorProvider
-
Create
CommandProcessorListener
. - createCommand() - Method in class ra.net.processor.DataNetCommandProvider
- createCommand() - Method in class ra.net.processor.NetCommandProvider
- createNClob() - Method in class ra.db.MockConnection
- createSQLXML() - Method in class ra.db.MockConnection
- createStatement() - Method in class ra.db.MockConnection
- createStatement(int, int) - Method in class ra.db.MockConnection
- createStatement(int, int, int) - Method in class ra.db.MockConnection
- createStatementExecutor() - Method in interface ra.db.DatabaseConnection
-
Create StatementExecutor.
- createStruct(String, Object[]) - Method in class ra.db.MockConnection
D
- Data - Class in ra.net.nio
-
Transmission package.
- Data(String) - Constructor for class ra.net.nio.Data
-
Initialize use text.
- Data(Path) - Constructor for class ra.net.nio.Data
-
Initialize use path.
- DatabaseCategory - Enum in ra.db
-
database drive category.
- DatabaseConnection - Interface in ra.db
-
Database Connection.
- DatabaseConnection.ConnectionFunction - Interface in ra.db
-
Get current database connection.
- DatabaseConnections - Class in ra.db
-
Provider multi connections to a single database, which connections are kept connected.
- DatabaseConnections() - Constructor for class ra.db.DatabaseConnections
-
Create database connection.
- DatabaseConnections(String) - Constructor for class ra.db.DatabaseConnections
-
Create database connection.
- DatabaseHeartbeat - Class in ra.db
-
Verify the database connection is alive.
- DatabaseHeartbeat(KeepAlive) - Constructor for class ra.db.DatabaseHeartbeat
-
Initialize.
- DatabaseParameters - Interface in ra.db.parameter
-
Parameters of Database connect setting.
- DataNetCommandProcessor - Class in ra.net.processor
-
Process data command.
- DataNetCommandProcessor() - Constructor for class ra.net.processor.DataNetCommandProcessor
- DataNetCommandProvider - Class in ra.net.processor
-
Provides
Data
command processor. - DataNetCommandProvider() - Constructor for class ra.net.processor.DataNetCommandProvider
- DataNetRequest(Request) - Constructor for class ra.net.nio.DataNetService.DataNetRequest
-
Initialize.
- DataNetService - Class in ra.net.nio
-
Provide TCP/IP write with read use bytes, and the support text with file format transmission.
- DataNetService.Builder - Class in ra.net.nio
-
builder.
- DataNetService.DataNetRequest - Class in ra.net.nio
-
NetRequest.
- DataNetService.DataNetRequest.Builder - Class in ra.net.nio
-
builder.
- DataPackageProtocol - Interface in ra.net.nio
-
Transmission package protocol.
- DataSocket - Class in ra.net.nio
-
DataSocket base on bytes.
- DataSocket() - Constructor for class ra.net.nio.DataSocket
-
Initialize.
- DataType - Enum in ra.net.nio
-
Transmission package type.
- DAY - ra.util.logging.CompressionTimeUnit
-
Create new file per every day.
- DefaultReason - Enum in ra.util.defensive
-
defined the reason about defensive the error which was known.
- DefaultRequest - Class in ra.net.request
-
Default request.
- DefaultRequest(NetService.NetRequest) - Constructor for class ra.net.request.DefaultRequest
-
Initialize.
- DefaultUser - Class in ra.net
-
User.
- DefaultUser() - Constructor for class ra.net.DefaultUser
- Defenses - Annotation Type in ra.util.annotation
-
Foolproof annotation.
- defensive(Field, JSONObject, DefensiveReason, BiConsumer<String, DefensiveReason>) - Method in interface ra.util.defensive.DefensiveFunction
-
the default method to defensive.
- DefensiveEnum - Enum in ra.util.defensive
-
Defensive type.
- DefensiveFunction - Interface in ra.util.defensive
-
Defensive Function's interface.
- DefensiveReason - Interface in ra.util.defensive
-
DefensiveReason's interface.
- DefensiveWeapon - Class in ra.util.defensive
-
Defensive the json request which is unsafe.
- deleteFiles(File) - Method in class ra.util.Utility
-
Delete deep files.
- deleteFiles(String) - Method in class ra.util.Utility
-
Delete files.
- disableStreamingResults() - Method in class ra.db.MockStatement
- disenableDateFormat() - Method in class ra.util.logging.LogRecord
-
Disenable add the head (Date-time information) when write log into Log file.
- div(double, double) - Static method in class ra.util.Arith
-
Provides (relatively) accurate division operations.
- div(double, double, int) - Static method in class ra.util.Arith
-
Provides (relatively) precise division operations.
- doDefensive(Class<?>, JSONObject, BiConsumer<String, DefensiveReason>) - Method in class ra.util.defensive.DefensiveWeapon
-
Enumerate json keys which mapping the class's field defensive.
- doJob(DefaultRequest, Response, T, Common) - Method in interface ra.server.basis.ServiceLite
-
Receive request.
- DoubleReference - Class in ra.ref
-
Double type of reference.
- DoubleReference() - Constructor for class ra.ref.DoubleReference
-
Initialize.
- DoubleReference(double) - Constructor for class ra.ref.DoubleReference
-
Initialize.
E
- enableClearQueue(boolean) - Method in class ra.net.NetSocketWriterKeep.Builder
-
Whether to enable clearing of cached messages after disconnection.
- enableClearQueue(boolean) - Method in class ra.net.SendProcessorKeep
-
Whether to allow the check message to be cleared after disconnection.
- enableDateFormat() - Method in class ra.util.logging.LogRecord
-
Enable add the head(Date-time information) when write log into Log file.
- enableStreamingResults() - Method in class ra.db.MockStatement
- end() - Method in interface ra.db.record.RecordCursor
-
Last record.
- end() - Method in class ra.db.record.RecordSet
-
Change the current row index to the end index.
- END_PACKAGE - Static variable in interface ra.net.nio.DataPackageProtocol
-
End package.
- equals(Object) - Method in class ra.util.SimpleDateFormatThreadSafe
- EscapeString - Class in ra.util.sql
-
Ray Li(modified)
- EscapeString() - Constructor for class ra.util.sql.EscapeString
- estimateSize() - Method in class ra.db.record.RecordSpliterator
- ExcludeIfNull - Annotation Type in ra.util.annotation
-
When tag member field as ExcludeIfNull annotation, the field will be excluded.
- execute(String) - Method in class ra.db.JdbcExecutor
-
If the execution is successful, the return count.
- execute(String) - Method in class ra.db.MockStatement
- execute(String) - Method in class ra.db.MockStatementExecutor
- execute(String) - Method in interface ra.db.StatementExecutor
-
If the execution is successful, the return count.
- execute(String, int) - Method in class ra.db.MockStatement
- execute(String, int[]) - Method in class ra.db.MockStatement
- execute(String, String[]) - Method in class ra.db.MockStatement
- execute(String, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
If the execution is successful, the return count.
- execute(String, Consumer<Exception>) - Method in class ra.db.MockStatementExecutor
- execute(String, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
If the execution is successful, the return count.
- executeBatch() - Method in class ra.db.MockStatement
- executeCommit(List<String>) - Method in class ra.db.JdbcExecutor
-
Execute SQL statements.
- executeCommit(List<String>) - Method in class ra.db.MockStatementExecutor
- executeCommit(List<String>) - Method in interface ra.db.StatementExecutor
-
Execute SQL statements.
- executeCommit(List<String>, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
Execute SQL statements.
- executeCommit(List<String>, Consumer<Exception>) - Method in class ra.db.MockStatementExecutor
- executeCommit(List<String>, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
Execute SQL statements.
- executeQuery(String) - Method in class ra.db.JdbcExecutor
-
Execute query, ex : SELECT * FROM table.
- executeQuery(String) - Method in class ra.db.MockStatement
- executeQuery(String) - Method in class ra.db.MockStatementExecutor
- executeQuery(String) - Method in class ra.db.MultiQuery
-
Execute query statement.
- executeQuery(String) - Method in interface ra.db.StatementExecutor
-
Execute query, ex : SELECT * FROM table.
- executeQuery(String, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
Execute query, ex : SELECT * FROM table.
- executeQuery(String, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
Execute query, ex : SELECT * FROM table.
- executeUpdate(String) - Method in class ra.db.MockStatement
- executeUpdate(String, int) - Method in class ra.db.MockStatement
- executeUpdate(String, int[]) - Method in class ra.db.MockStatement
- executeUpdate(String, String[]) - Method in class ra.db.MockStatement
F
- field(int) - Method in interface ra.db.record.RecordCursor
-
Get value of specific fields.
- field(int) - Method in class ra.db.record.RecordSet
-
Take the column value of the earmark index.
- field(String) - Method in interface ra.db.record.RecordCursor
-
Use field name returns a value.
- field(String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index.
- field(String, int) - Method in interface ra.db.record.RecordCursor
-
Get value by specified name.
- field(String, int) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the earmark row index， Return "", if the value is null.
- field(String, String) - Method in interface ra.db.record.RecordCursor
-
Use field name returns a value.
- field(String, String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index.
- field(String, String, String) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- field(String, String, String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index， Return feedback, if the value is null.
- fieldBytes(String) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- fieldBytes(String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index， Return Object null, if the value is null.
- fieldFeedback(String, String) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- fieldFeedback(String, String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index， Return feedback, if the value is null.
- fieldNames(Consumer<String>) - Method in interface ra.db.record.RecordCursor
-
Get name of table fields.
- fieldNames(Consumer<String>) - Method in class ra.db.record.RecordSet
- FILE - ra.net.nio.DataType
-
File.
- FILE_NAME - Static variable in enum ra.net.nio.DataType
-
File name.
- fill(Class<?>, String) - Method in interface ra.util.parser.ConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Class<?>, String) - Method in class ra.util.parser.JsonConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Class<?>, String) - Method in class ra.util.parser.XmlConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Class<?>, String, boolean) - Method in interface ra.util.parser.ConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Class<?>, String, boolean) - Method in class ra.util.parser.JsonConfigParser
- fill(Class<?>, String, boolean) - Method in class ra.util.parser.XmlConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Function<String, Class<?>>, String, boolean) - Method in interface ra.util.parser.ConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Function<String, Class<?>>, String, boolean) - Method in class ra.util.parser.JsonConfigParser
-
Setting value into the variable which below the Class, after reading the file that is earmarked path.
- fill(Function<String, Class<?>>, String, boolean) - Method in class ra.util.parser.XmlConfigParser
- first() - Method in interface ra.db.record.RecordCursor
-
First record.
- first() - Method in class ra.db.record.RecordSet
-
Change the current row index to the first index.
- FloatReference - Class in ra.ref
-
Float type of reference..
- FloatReference() - Constructor for class ra.ref.FloatReference
-
Initialize.
- FloatReference(float) - Constructor for class ra.ref.FloatReference
-
Initialize.
- floor(double, int) - Static method in class ra.util.Arith
-
Provide accurate decimal places to be discarded unconditionally.
- flush() - Method in class ra.util.compression.GzipFileStringOutput
- flush() - Method in class ra.util.compression.SnappyFileStringOutput
- flush() - Method in class ra.util.compression.StringFileOutput
- flush() - Method in interface ra.util.compression.StringOutput
-
Flushes the stream.
- FOOL - ra.util.defensive.DefensiveEnum
-
Fool.
- forEach(Consumer<RowSet>) - Method in interface ra.db.record.RecordCursor
-
Get each row data from the record.
- forEach(Consumer<RowSet>) - Method in class ra.db.record.RecordSet
-
Take the row data by row data.
- FORM_FEED - Static variable in class ra.net.TransmissionEnd
-
Form feed character.
- format(Object) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
Format.format(Object)
. - format(Date) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.format(Date)
. - format(Date, StringBuffer, FieldPosition) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.format(Date, StringBuffer, FieldPosition)
. - formatToCharacterIterator(Object) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.formatToCharacterIterator(Object)
. - fromCalendar(Calendar) - Static method in class ra.util.Iso8601
-
Transform Calendar to ISO 8601 string.
- fromCalendar(Calendar, boolean) - Static method in class ra.util.Iso8601
-
Transform Calendar to ISO 8601 string.
When colon == true, return format, etc : "2018-11-15T09:36:27+08:00"
When colon == false, return format, etc :"2018-11-15T09:36:27+0800" - fromDate(Date) - Static method in class ra.util.Iso8601
-
Transform Date to ISO 8601 string.
- fromDate(Date, boolean) - Static method in class ra.util.Iso8601
-
Transform Date to ISO 8601 string.
When colon == true, return format, etc : "2018-11-15T09:36:27+08:00"
When colon == false, return format, etc : "2018-11-15T09:36:27+0800"
G
- GB - ra.util.SpaceUnit
-
Gigabytes.
- generateFileName() - Method in class ra.util.logging.LogEveryDay
-
Using the current date as file name to create a file(Not Thread-Safe).
- get() - Method in class ra.ref.BooleanReference
-
Returns the value.
- get() - Method in class ra.ref.DoubleReference
-
Returns the value.
- get() - Method in class ra.ref.FloatReference
-
Returns the value.
- get() - Method in class ra.ref.IntReference
-
Returns the value.
- get() - Method in class ra.ref.LongReference
-
Returns the value.
- get() - Method in class ra.ref.Reference
-
Returns the value.
- get() - Method in class ra.ref.ShortReference
-
Returns the value.
- get() - Static method in class ra.util.CaughtExceptionHandler
-
Returns instance of
CaughtExceptionHandler
. - get() - Static method in class ra.util.defensive.DefensiveWeapon
-
get the Singleton defensive tool.
- get() - Static method in class ra.util.Utility
-
Returns instance of class Utility.
- get2DigitYearStart() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.get2DigitYearStart()
. - getAccessTokensSize() - Static method in class ra.server.basis.CommandsVerification
-
Returns content size that access token of department.
- getAccessTokensStream() - Static method in class ra.server.basis.CommandsVerification
-
Returns access token of department.
- getAndClose(Consumer<StatementExecutor>) - Method in class ra.db.OnceDatabaseFactory
-
Get once database connection, It will be close after use.
- getApplication() - Static method in class ra.net.NetServerApplication
-
Get current application.
- getAuthorization() - Method in class ra.net.request.DefaultRequest
-
Returns authorization of the request.
- getAutoCommit() - Method in class ra.db.MockConnection
- getBigDecimal(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a BigDecimal by the column`s name.
- getBigDecimal(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getBlob(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a byte array by the column`s name.
- getBlob(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getByte() - Method in class ra.net.TransmissionEnd
-
Returns the character convert to byte.
- getBytes(int) - Method in class ra.db.MockResultSet
-
Returns the data byte of the specified index field.
- getCalendar() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.getCalendar()
. - getCatalog() - Method in class ra.db.MockConnection
- getCategory() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns DatabaseCategory.
- getCategory() - Method in class ra.db.parameter.H2Parameters
- getCategory() - Method in class ra.db.parameter.MysqlParameters
- getChar() - Method in class ra.net.TransmissionEnd
-
Returns the character.
- getClientInfo() - Method in class ra.db.MockConnection
- getClientInfo(String) - Method in class ra.db.MockConnection
- getColumn(String) - Method in interface ra.db.record.Record
-
Returns column.
- getColumn(String) - Method in class ra.db.record.RecordSet
-
Returns column.
- getColumnName(int) - Method in interface ra.db.record.Record
-
Returns name of column.
- getColumnName(int) - Method in class ra.db.record.RecordSet
-
Returns name of column.
- getCommand() - Method in class ra.net.request.DefaultRequest
-
Returns command.
- getCommandsAuthorizationSize() - Static method in class ra.server.basis.CommandsVerification
-
Returns list size of departments.
- getCommandsAuthorizationStream() - Static method in class ra.server.basis.CommandsVerification
-
Returns department list.
- getCommittedVirtualMemory() - Method in class ra.util.Monitor
-
Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes, or -1 if this operation is not supported.
- getCommittedVirtualMemory() - Method in class ra.util.OperatingSystemProxy
-
Returns the amount of virtual memory that is guaranteed to be available to the running process in bytes, or -1 if this operation is not supported.
- getCompressionMode() - Method in class ra.util.logging.LogSettings
-
Get the Compression Mode of saving Log file.
- getCompressionTimeUnit() - Method in class ra.util.logging.LogSettings
-
Set the time unit of the split log.
- getConfiguration() - Method in class ra.net.NetServerApplication
-
Returns server configuration.
- getConnection() - Method in class ra.db.connection.ConcurrentConnection
- getConnection() - Method in class ra.db.connection.MockConcurrentConnection
- getConnection() - Method in class ra.db.connection.MockOnceConnection
- getConnection() - Method in class ra.db.connection.MockOriginalConnection
- getConnection() - Method in class ra.db.connection.OnceConnection
- getConnection() - Method in class ra.db.connection.OriginalConnection
- getConnection() - Method in interface ra.db.DatabaseConnection
-
Get current database connection.
- getConnection() - Method in class ra.db.MockStatement
- getConnection(int) - Method in class ra.db.DatabaseConnections
-
Returns database connection.
- getConnection(int) - Method in class ra.db.MockDatabaseConnections
- getConnection(DatabaseConnection.ConnectionFunction) - Method in class ra.db.connection.ConcurrentConnection
- getConnection(DatabaseConnection.ConnectionFunction) - Method in class ra.db.connection.OnceConnection
- getConnection(DatabaseConnection.ConnectionFunction) - Method in class ra.db.connection.OriginalConnection
- getConnection(DatabaseConnection.ConnectionFunction) - Method in interface ra.db.DatabaseConnection
-
Get current database connection.
- getContent() - Method in class ra.net.nio.Data
-
Returns content.
- getCount() - Method in class ra.db.OnceDatabaseFactory
-
Get current connection count.
- getCountMachine() - Method in class ra.server.basis.Common
-
Returns machine counter.
- getCurrentDate() - Method in class ra.util.logging.LogEveryDay
-
Get Year、Month、Day of Today(Not Thread-Safe).
- getData() - Method in class ra.net.nio.DataNetService.DataNetRequest
-
Returns the data.
- getDatabaseUrl() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns the URL of parameters.
- getDatabaseUrl() - Method in class ra.db.parameter.H2Parameters
- getDatabaseUrl() - Method in class ra.db.parameter.MysqlParameters
- getDataNetService(int) - Method in class ra.net.NetServerApplication
-
Returns service.
- getDataType() - Method in class ra.net.nio.Data
-
Returns data type.
- getDateFormatSymbols() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.getDateFormatSymbols()
. - getDetail() - Method in enum ra.util.defensive.DefaultReason
- getDetail() - Method in interface ra.util.defensive.DefensiveReason
-
Returns detail.
- getDouble(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a double by the column`s name.
- getDouble(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getDoubleDecima(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a double by the column`s name.
- getDoubleDecima(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getDriver() - Method in enum ra.db.DatabaseCategory
-
driver name.
- getDriver() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns JDBC driver.
- getDriver() - Method in class ra.db.parameter.H2Parameters
- getDriver() - Method in class ra.db.parameter.MysqlParameters
- getEnable() - Method in class ra.util.logging.LogSettings
-
Returns log enable.
- getErrorLog() - Method in class ra.server.basis.Global
-
Returns server error log.
- getExceptionInterceptor() - Method in class ra.db.MockStatement
- getFetchDirection() - Method in class ra.db.MockStatement
- getFetchSize() - Method in class ra.db.MockStatement
- getFieldCount() - Method in interface ra.db.record.RecordCursor
-
Get count of table fields.
- getFieldCount() - Method in class ra.db.record.RecordSet
-
Take count in the table`s column.
- getFilenameExtension() - Method in enum ra.util.compression.CompressionMode
-
Returns extension name of file.
- getFloat(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a float by the column`s name.
- getFloat(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getFreePhysicalMemorySize() - Method in class ra.util.Monitor
-
Returns the amount of free physical memory in bytes.
- getFreePhysicalMemorySize() - Method in class ra.util.OperatingSystemProxy
-
Returns the amount of free physical memory in bytes.
- getFreeSwapSpace() - Method in class ra.util.Monitor
-
Returns free swap space.
- getFreeSwapSpace() - Method in class ra.util.OperatingSystemProxy
-
Returns the amount of free swap space in bytes.
- getGeneratedKeys() - Method in class ra.db.MockStatement
- getHoldability() - Method in class ra.db.MockConnection
- getHost() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns host that connects to database.
- getHost() - Method in class ra.db.parameter.H2Parameters
- getHost() - Method in class ra.db.parameter.MysqlParameters
- getId() - Method in class ra.db.MockStatement
- getIndex() - Method in class ra.net.DefaultUser
-
Returns index of member in user pool.
- getIndex() - Method in class ra.net.NetService
-
Returns index.
- getIndex() - Method in class ra.net.NetSocketWriterKeep
-
Returns the index.
- getIndex() - Method in class ra.net.nio.DataNetService
-
Returns index of service.
- getIndex() - Method in class ra.net.request.Request
-
Returns index.
- getIndex() - Method in interface ra.net.User
-
Returns index of member in user pool.
- getIndex() - Method in class ra.server.basis.Response
-
Return index.
- getInt(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a int by the column`s name.
- getInt(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getIp() - Method in class ra.net.DefaultUser
-
Returns IP address of the user.
- getIp() - Method in class ra.net.nio.Sender
-
Returns IP address of client.
- getIp() - Method in class ra.net.request.Request
-
Returns IP address of remote.
- getIp() - Method in class ra.net.SendProcessor
-
Returns IP address.
- getIp() - Method in interface ra.net.User
-
Returns IP address of the user.
- getJson() - Method in class ra.net.request.DefaultRequest
-
Returns JSONObject of the request.
- getKeepDays() - Method in class ra.util.logging.LogSettings
-
Returns log keep days.
- getLastInsertId(Statement) - Method in class ra.db.record.RecordSet
-
Returns last insert id.
- getLastInsertId(Statement) - Method in interface ra.db.record.ResultConverter
-
Returns last insert id.
- getLeft() - Method in class ra.ref.BiReference
-
Returns element of left.
- getLocalHost() - Method in class ra.util.Monitor
-
Returns local address object.
- getLocalHostAddress() - Method in class ra.util.Monitor
-
Returns the local IP address, ex: <IP_ADDRESS>, and when local is no address will return null.
- getLocalInfileInputStream() - Method in class ra.db.MockStatement
- getLogDelete() - Method in class ra.server.basis.Global
-
Returns instance of delete log.
- getLogFile() - Method in class ra.util.logging.LogRecord
-
Returns the file name of the log file.
- getLogFileFolder() - Method in class ra.util.logging.LogRecord
-
Returns log file.
- getLogRecord() - Method in class ra.util.logging.LogEveryDay
-
Returns instance of record logs.
- getLong(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a long by the column`s name.
- getLong(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getMaxFieldSize() - Method in class ra.db.MockStatement
- getMaxRows() - Method in class ra.db.MockStatement
- getMessageSender() - Method in class ra.net.NetServerApplication
-
Returns message sender.
- getMetaData() - Method in class ra.db.MockConnection
- getMetaData() - Method in class ra.db.MockResultSet
- getMockConnection() - Method in class ra.db.connection.MockConcurrentConnection
-
Returns mock connection.
- getMockConnection() - Method in class ra.db.connection.MockOnceConnection
-
Returns mock database connection.
- getMockConnection() - Method in class ra.db.connection.MockOriginalConnection
-
Returns mock database connection.
- getMoreResults() - Method in class ra.db.MockStatement
- getMoreResults(int) - Method in class ra.db.MockStatement
- getName() - Method in class ra.db.DatabaseConnections
-
Returns connection alias of database.
- getName() - Method in class ra.db.MockDatabaseConnections
- getName() - Method in class ra.db.parameter.H2Parameters
-
Returns database name.
- getName() - Method in class ra.db.parameter.MysqlParameters
-
Returns database name.
- getName() - Method in class ra.net.DefaultUser
-
Returns name of user.
- getName() - Method in interface ra.net.User
-
Returns name of user.
- getNetService(int) - Method in class ra.net.NetServerApplication
-
Returns service.
- getNetworkTimeout() - Method in class ra.db.MockConnection
- getNumberFormat() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.getNumberFormat()
. - getOpenResultSetCount() - Method in class ra.db.MockStatement
- getParam() - Method in class ra.db.connection.ConcurrentConnection
- getParam() - Method in class ra.db.connection.OnceConnection
- getParam() - Method in class ra.db.connection.OriginalConnection
- getParam() - Method in interface ra.db.DatabaseConnection
-
Returns database properties settings.
- getPassword() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns database password.
- getPassword() - Method in class ra.db.parameter.H2Parameters
- getPassword() - Method in class ra.db.parameter.MysqlParameters
- getPath() - Method in class ra.util.logging.LogSettings
-
Returns log path.
- getPattern() - Method in enum ra.util.logging.CompressionTimeUnit
-
get the date format pattern.
- getPort() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns port that connects to database.
- getPort() - Method in class ra.db.parameter.H2Parameters
- getPort() - Method in class ra.db.parameter.MysqlParameters
- getProcessCpuLoad() - Method in class ra.util.Monitor
-
Returns current process CPU status.
- getProcessCpuLoad() - Method in class ra.util.OperatingSystemProxy
-
Returns the CPU percent used by the process.
- getProcessCpuTime() - Method in class ra.util.Monitor
-
Returns the CPU time used by the process on which the Java virtual machine is running in nanoseconds.
- getProcessCpuTime() - Method in class ra.util.OperatingSystemProxy
-
Returns the CPU time used by the process on which the Java virtual machine is running in nanoseconds.
- getProcessMemoryLoad() - Method in class ra.util.Monitor
-
Returns current process memory status.
- getProperties() - Method in class ra.db.parameter.H2Parameters
-
Returns DbSettings.
- getProperties() - Method in class ra.db.parameter.MysqlParameters
-
Returns DbSettings.
- getProperties() - Method in class ra.net.ServerConfiguration
-
Get all properties.
- getProperty(String) - Method in class ra.net.ServerConfiguration
-
Gets value that specifies key from application.properties.
- getProperty(String, String) - Method in class ra.net.ServerConfiguration
-
Gets value that specifies key from application.properties.
- getPropertyAsInt(String) - Method in class ra.net.ServerConfiguration
-
Gets value that specifies key from application.properties.
- getPropertyAsInt(String, int) - Method in class ra.net.ServerConfiguration
-
Gets value that specifies key from application.properties.
- getQueryTimeout() - Method in class ra.db.MockStatement
- getReason() - Method in interface ra.util.defensive.DefensiveFunction
-
Returns reason.
- getReciveTime() - Method in class ra.net.request.DefaultRequest
-
Returns receive time of the request.
- getRecordCount() - Method in interface ra.db.record.RecordCursor
-
Get count of record.
- getRecordCount() - Method in class ra.db.record.RecordSet
-
Take the row count in SQL statement execute finish.
- getRegeditCode() - Method in class ra.net.NetSocketWriterKeep
-
Returns the registration code.
- getRequestCount() - Method in class ra.server.basis.Common
-
Returns request counts that current processing.
- getResultSet() - Method in class ra.db.MockStatement
- getResultSetConcurrency() - Method in class ra.db.MockStatement
- getResultSetHoldability() - Method in class ra.db.MockStatement
- getResultSetType() - Method in class ra.db.MockStatement
- getRight() - Method in class ra.ref.BiReference
-
Returns element of right.
- getSchema() - Method in enum ra.db.DatabaseCategory
-
driver schema.
- getSchema() - Method in class ra.db.MockConnection
- getSendCloseMessgae() - Method in class ra.server.basis.MockSendAdapter
-
Returns had sent messages.
- getSendCompilete() - Method in class ra.net.NetService
- getSendCompilete() - Method in interface ra.net.NetServiceable
-
Returns true will encryption.
- getSendCompilete() - Method in class ra.net.SendProcessor
-
Return whether completed that sent the message.
- getSendData() - Method in class ra.server.basis.Common
-
Returns response sender.
- getSender() - Method in class ra.net.NetService.NetRequest
-
Returns sender.
- getSender() - Method in class ra.net.nio.DataNetService.DataNetRequest
-
Returns data.
- getSendMessgae() - Method in class ra.server.basis.MockSendAdapter
-
Returns had sent messages.
- getServerIp() - Method in class ra.server.basis.Common
-
Returns host address that current server.
- getServerLog() - Method in class ra.server.basis.Global
-
Returns server log.
- getService(int) - Method in class ra.net.NetServerApplication
- getService(int) - Method in interface ra.net.NetServiceProvider
-
Hash Key : Net{0~n}.
- getService(String) - Method in class ra.net.NetServerApplication
-
Returns service.
- getService(String) - Method in class ra.server.basis.ServiceLoader
-
Returns service by specific command.
- getShort(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a short by the column`s name.
- getShort(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getSource() - Method in class ra.net.request.DefaultRequest
-
Returns source text of the request.
- getStatementExecutor(int) - Method in class ra.db.DatabaseConnections
-
Returns SQL statement executer.
- getStatementExecutor(int) - Method in class ra.db.MockDatabaseConnections
- getString() - Method in class ra.net.TransmissionEnd
-
Returns the character convert to string.
- getString(String) - Method in class ra.db.Row
-
Take the value of that column`s value as a String by the column`s name.
- getString(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getString(String, String) - Method in class ra.db.Row
-
Take the value of that column`s value as a String by character encoding and the column`s name.
- getString(String, String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- getSystemCpuLoad() - Method in class ra.util.Monitor
-
Returns current system CPU status.
- getSystemCpuLoad() - Method in class ra.util.OperatingSystemProxy
-
Get system CPU status.
- getText() - Method in class ra.net.NetService.NetRequest
-
Returns text.
- getThrowableDetail(Throwable) - Method in class ra.util.CaughtExceptionHandler
-
Returns details of the error message.
- getThrowableDetail(Throwable) - Method in class ra.util.Utility
-
Return details of exception.
- getTimeZone() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.getTimeZone()
. - getTitle() - Method in class ra.net.nio.Data
-
Returns title.
- getTotalPhysicalMemory() - Method in class ra.util.Monitor
-
Returns the total amount of physical memory in bytes.
- getTotalPhysicalMemory() - Method in class ra.util.OperatingSystemProxy
-
Returns the total amount of physical memory in bytes.
- getTotalSwapSpaceSize() - Method in class ra.util.Monitor
-
Returns the total amount of swap space in bytes.
- getTotalSwapSpaceSize() - Method in class ra.util.OperatingSystemProxy
-
Returns the total amount of swap space in bytes.
- getTransactionIsolation() - Method in class ra.db.MockConnection
- getType() - Method in enum ra.net.nio.DataType
-
Returns type of data.
- getTypeMap() - Method in class ra.db.MockConnection
- getUpdateCount() - Method in class ra.db.MockStatement
- getUrlSchema() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns JDBC schema.
- getUrlSchema() - Method in class ra.db.parameter.H2Parameters
- getUrlSchema() - Method in class ra.db.parameter.MysqlParameters
- getUser() - Method in interface ra.db.parameter.DatabaseParameters
-
Returns database user.
- getUser() - Method in class ra.db.parameter.H2Parameters
- getUser() - Method in class ra.db.parameter.MysqlParameters
- getUser(int) - Method in class ra.net.NetServerApplication
-
Returns user.
- getUsers() - Method in class ra.net.NetServerApplication
- getUsers() - Method in interface ra.net.NetServiceProvider
-
Hash Key : {User.getIndex()} ex:0~n.
- getValue() - Method in enum ra.util.defensive.DefaultReason
- getValue() - Method in interface ra.util.defensive.DefensiveReason
-
Returns value.
- getWarnings() - Method in class ra.db.MockConnection
- getWarnings() - Method in class ra.db.MockStatement
- Global - Class in ra.server.basis
-
Provide logging.
- Global() - Constructor for class ra.server.basis.Global
-
Initialize.
- GZIP - ra.util.compression.CompressionMode
-
GZIP.
- GzipFileStringInput - Class in ra.util.compression
-
Use gzip to read text files.
- GzipFileStringInput(File, String) - Constructor for class ra.util.compression.GzipFileStringInput
-
Initialize.
- GzipFileStringOutput - Class in ra.util.compression
-
Use gzip to compress the output text file.
- GzipFileStringOutput(File, String) - Constructor for class ra.util.compression.GzipFileStringOutput
-
Initialize.
H
- H2 - ra.db.DatabaseCategory
-
The driver that H2 database.
- H2Parameters - Class in ra.db.parameter
-
H2 database parameters.
- H2Parameters.Builder - Class in ra.db.parameter
-
MysqlParameters.
- hashCode() - Method in class ra.util.SimpleDateFormatThreadSafe
- hasRemaining() - Method in class ra.util.logging.LogRecord
-
Can it write in, after checking the storage space remaining?.
- HEADER_LENGTH - Static variable in interface ra.net.nio.DataPackageProtocol
-
Package header length.
- HEARTBEAT - Static variable in class ra.server.basis.CommandsVerification
-
command heart beat.
- HOUR - ra.util.logging.CompressionTimeUnit
-
Create new file per every hour.
I
- init(String, String, String) - Method in class ra.util.logging.LogRecord
-
initialize.
- inMemory() - Method in class ra.db.parameter.H2Parameters.Builder
-
In-memory mode.
- insert(String) - Method in class ra.db.JdbcExecutor
-
Return the last id after executing SQL statement.
- insert(String) - Method in interface ra.db.StatementExecutor
-
Return the last id after executing SQL statement.
- insert(String, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
Return the last id after executing SQL statement.
- insert(String, Consumer<Exception>) - Method in class ra.db.MockStatementExecutor
- insert(String, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
Return the last id after executing SQL statement.
- interval() - Method in interface ra.db.KeepAlive
-
Keep-alive interval time.
- interval() - Method in interface ra.db.KeepAvailable
- IntReference - Class in ra.ref
-
Integer type of reference.
- IntReference() - Constructor for class ra.ref.IntReference
-
Initialize.
- IntReference(int) - Constructor for class ra.ref.IntReference
-
Initialize.
- isBof() - Method in interface ra.db.record.RecordCursor
-
Verify whether first record.
- isBof() - Method in class ra.db.record.RecordSet
-
Is the current row index equal first index.
- isClose() - Method in class ra.net.nio.DataSocket
-
Whether connection has closed.
- isClosed() - Method in class ra.db.MockConnection
- isClosed() - Method in class ra.db.MockStatement
- isCloseOnCompletion() - Method in class ra.db.MockStatement
- isConnected() - Method in class ra.net.nio.DataSocket
-
Whether connection has connected.
- isEof() - Method in interface ra.db.record.RecordCursor
-
Verify whether end of the record.
- isEof() - Method in class ra.db.record.RecordSet
-
is the current row index equal end index.
- isLeftNull() - Method in class ra.ref.BiReference
-
Returns the left whether is null.
- isLenient() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.isLenient()
. - isLive() - Method in class ra.db.connection.ConcurrentConnection
- isLive() - Method in class ra.db.connection.MockConcurrentConnection
- isLive() - Method in class ra.db.connection.MockOnceConnection
- isLive() - Method in class ra.db.connection.MockOriginalConnection
- isLive() - Method in class ra.db.connection.OnceConnection
- isLive() - Method in class ra.db.connection.OriginalConnection
- isLive() - Method in interface ra.db.DatabaseConnection
-
Returns database state whether available.
- isLive() - Method in class ra.db.JdbcExecutor
- isLive() - Method in class ra.db.MockStatementExecutor
- isLive() - Method in interface ra.db.StatementExecutor
-
Returns database state whether available.
- isNotLeftNull() - Method in class ra.ref.BiReference
-
Returns the left whether not null.
- isNotNull() - Method in class ra.ref.Reference
-
Returns the value whether not null.
- isNotRightNull() - Method in class ra.ref.BiReference
-
Returns the left whether not null.
- isNull() - Method in class ra.ref.Reference
-
Returns the value whether is null.
- isNull(String) - Method in class ra.db.Row
-
Checking database null equals the value of that column`s value by the column`s name.
- isNull(String) - Method in interface ra.db.RowSet
-
Gets value uses the specific column name.
- Iso8601 - Class in ra.util
-
Helper class for handling a most common subset of ISO 8601 strings (in the following format: "2008-03-01T13:00:00+01:00").
- Iso8601() - Constructor for class ra.util.Iso8601
- isPoolable() - Method in class ra.db.MockStatement
- isReadOnly() - Method in class ra.db.MockConnection
- isRightNull() - Method in class ra.ref.BiReference
-
Returns the right whether is null.
- isRun() - Method in class ra.net.MessageReceiver
-
Returns running state.
- isSendClose() - Method in class ra.net.nio.Sender
-
Returns send close of the flag.
- isValid(int) - Method in class ra.db.MockConnection
- isValidAuth(String, String) - Static method in class ra.server.basis.CommandsVerification
-
Verify command and authorization.
- isWrapperFor(Class<?>) - Method in class ra.db.MockConnection
- isWrapperFor(Class<?>) - Method in class ra.db.MockStatement
J
- JdbcExecutor - Class in ra.db
-
SQL statement (CRUD) executor.
- JdbcExecutor(DatabaseConnection) - Constructor for class ra.db.JdbcExecutor
-
Initialize.
- JsonConfigParser - Class in ra.util.parser
-
A lightweight set of re-usable functions for general purpose parsing. support JSON parsing styles.
- JsonConfigParser() - Constructor for class ra.util.parser.JsonConfigParser
-
A lightweight set of re-usable functions for general purpose parsing. support JSON parsing styles.
K
- KB - ra.util.SpaceUnit
-
Kilobytes.
- keep() - Method in class ra.db.connection.ConcurrentConnection
- keep() - Method in class ra.db.connection.OriginalConnection
- keep() - Method in interface ra.db.KeepAlive
-
Trigger keep-alive event.
- KeepAlive - Interface in ra.db
-
Verify availability.
- KeepAvailable - Interface in ra.db
-
Keep the database connection permanently connected.
L
- loadClasses(String) - Method in class ra.server.basis.ServiceLoader
-
Wear the class marked @RequestCommand, and search for the specified packageName and its lower packages by default.
- loadCommands(String) - Static method in class ra.server.basis.CommandsVerification
-
Load commands.
- loadDriveInstance(DatabaseParameters) - Method in class ra.db.connection.MockConcurrentConnection
- loadDriveInstance(DatabaseParameters) - Method in class ra.db.connection.MockOnceConnection
- loadDriveInstance(DatabaseParameters) - Method in class ra.db.connection.MockOriginalConnection
- loadDriveInstance(DatabaseParameters) - Method in interface ra.db.DatabaseConnection
-
Load driver.
- localFile(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Embedded (local) connection.
- LOG - ra.util.compression.CompressionMode
-
text.
- LogDelete - Class in ra.util.logging
-
Regular Delete Log file.
- LogDelete() - Constructor for class ra.util.logging.LogDelete
-
Initialize.
- LogDelete(String, int) - Constructor for class ra.util.logging.LogDelete
-
Initialize.
- LogEveryDay - Class in ra.util.logging
-
Using the Date to create a file every day, which be used to write Log. the following action: Keep the file I/O connection and will not close the file I/O connection when writing log into a file, after creating the Log file by earmark file name.
- LogEveryDay(boolean, LogSettings, String) - Constructor for class ra.util.logging.LogEveryDay
-
Initialize.
- LogRecord - Class in ra.util.logging
-
Create a file which be used to write Log. the following action: Keep the file I/O connection and will not close the file I/O connection when writing log into a file, after creating the Log file by earmark file name.
- LogRecord() - Constructor for class ra.util.logging.LogRecord
-
Initialize.
- LogRecord.OnNotEnoughSpaceListener - Interface in ra.util.logging
-
It will be called on, when has not enough storage space remaining.
- LogSettings - Class in ra.util.logging
-
General Setting parameters for Log.
- LogSettings() - Constructor for class ra.util.logging.LogSettings
- LongReference - Class in ra.ref
-
Long type of reference.
- LongReference() - Constructor for class ra.ref.LongReference
-
Initialize.
- LongReference(long) - Constructor for class ra.ref.LongReference
-
Initialize.
M
- MB - ra.util.SpaceUnit
-
Megabytes.
- MessageReceiver - Class in ra.net
-
Receive messages and put to queue.
- MessageReceiver(Consumer<String>) - Constructor for class ra.net.MessageReceiver
-
Initialize.
- MessageSender - Class in ra.net
-
Tool class of sent message.
- MessageSender() - Constructor for class ra.net.MessageSender
- MINUTE - ra.util.logging.CompressionTimeUnit
-
Create new file per every minute.
- MockConcurrentConnection - Class in ra.db.connection
-
Mock class.
- MockConcurrentConnection(MysqlParameters) - Constructor for class ra.db.connection.MockConcurrentConnection
-
Initialize.
- MockConnection - Class in ra.db
-
Mock database connection.
- MockConnection() - Constructor for class ra.db.MockConnection
-
Initialize.
- MockDatabaseConnections - Class in ra.db
-
Mock database connections.
- MockDatabaseConnections() - Constructor for class ra.db.MockDatabaseConnections
-
Initialize.
- MockDatabaseConnections(String) - Constructor for class ra.db.MockDatabaseConnections
-
Initialize.
- MockOnceConnection - Class in ra.db.connection
-
Mock class.
- MockOnceConnection(MysqlParameters) - Constructor for class ra.db.connection.MockOnceConnection
-
Initialize.
- MockOriginalConnection - Class in ra.db.connection
-
Mock original connection.
- MockOriginalConnection(MysqlParameters) - Constructor for class ra.db.connection.MockOriginalConnection
-
Initialize.
- MockResultSet - Class in ra.db
-
Mock query result.
- MockResultSet(String...) - Constructor for class ra.db.MockResultSet
-
Initialize.
- MockSendAdapter - Class in ra.server.basis
-
Mock
SenderAdapter
. - MockSendAdapter(MessageSender) - Constructor for class ra.server.basis.MockSendAdapter
-
initialize.
- MockSendAdapter(MessageSender, LogEveryDay, LogEveryDay) - Constructor for class ra.server.basis.MockSendAdapter
-
initialize.
- MockStatement - Class in ra.db
-
Mock SQL statement.
- MockStatement() - Constructor for class ra.db.MockStatement
-
Initialize.
- MockStatementExecutor - Class in ra.db
-
Mock
StatementExecutor
. - MockStatementExecutor() - Constructor for class ra.db.MockStatementExecutor
-
Initialize.
- MockStatementExecutor(DatabaseConnection) - Constructor for class ra.db.MockStatementExecutor
-
Initialize.
- Monitor - Class in ra.util
-
Monitor system process cup, memory status.
- Monitor() - Constructor for class ra.util.Monitor
-
Initialize.
- MONITOR - Static variable in class ra.server.basis.CommandsVerification
-
command monitor.
- move(int) - Method in interface ra.db.record.RecordCursor
-
Move to index.
- move(int) - Method in class ra.db.record.RecordSet
-
Change the current row index.
- MTU - Static variable in interface ra.net.nio.DataPackageProtocol
-
Maximum Transmission Unit.
- mul(double, double) - Static method in class ra.util.Arith
-
Provide precise multiplication operations.
- multiQuery(Consumer<MultiQuery>) - Method in class ra.db.JdbcExecutor
-
Execute query( transaction), ex : SELECT * FROM table.
- multiQuery(Consumer<MultiQuery>) - Method in class ra.db.MockStatementExecutor
- multiQuery(Consumer<MultiQuery>) - Method in interface ra.db.StatementExecutor
-
Execute query( transaction), ex : SELECT * FROM table.
- multiQuery(Consumer<MultiQuery>, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
Execute query( transaction), ex : SELECT * FROM table.
- multiQuery(Consumer<MultiQuery>, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
Execute query( transaction), ex : SELECT * FROM table.
- MultiQuery - Class in ra.db
-
Like as transaction query.
- MultiQuery(Supplier<Record>, Statement) - Constructor for class ra.db.MultiQuery
-
Initialize.
- MYSQL - ra.db.DatabaseCategory
-
The driver that MySQL database.
- MysqlParameters - Class in ra.db.parameter
-
MySQL database parameters.
- MysqlParameters.Builder - Class in ra.db.parameter
-
MysqlParameters.
- mysqlRealEscapeString(String) - Static method in class ra.util.sql.EscapeString
-
Escape string to protected against SQL Injection
N
- nameQuote(String) - Static method in class ra.util.sql.EscapeString
-
Escape identifier to protected against SQL Injection.
- nativeSQL(String) - Method in class ra.db.MockConnection
- NetCommandProcessor - Class in ra.net.processor
-
Process text command.
- NetCommandProcessor() - Constructor for class ra.net.processor.NetCommandProcessor
- NetCommandProvider - Class in ra.net.processor
-
Provides
String
command processor. - NetCommandProvider() - Constructor for class ra.net.processor.NetCommandProvider
- NetRequest(Request) - Constructor for class ra.net.NetService.NetRequest
-
Initialize.
- NetServerApplication - Class in ra.net
-
NetService
,DataNetService
manager. - NetServerApplication() - Constructor for class ra.net.NetServerApplication
-
Initialize.
- NetService - Class in ra.net
-
Provider socket write and read.
- NetService.Builder - Class in ra.net
-
builder.
- NetService.NetRequest - Class in ra.net
-
NetRequest.
- NetService.NetRequest.Builder - Class in ra.net
-
builder.
- NetServiceable - Interface in ra.net
-
Communication processing layer.
- NetServiceProvider - Interface in ra.net
-
Provide
NetService
. - NetSocketWriter - Class in ra.net
-
Provider socket write and read.
- NetSocketWriter.Builder - Class in ra.net
-
NetSocketPrint.
- NetSocketWriterKeep - Class in ra.net
-
Socket connection output.
- NetSocketWriterKeep.Builder - Class in ra.net
-
Build NetSocketPrintKeep.
- NEW_LINE - Static variable in class ra.net.TransmissionEnd
-
New line character.
- newColumnContainer() - Method in class ra.db.record.RecordSet
-
Create column container.
- newTable() - Method in class ra.db.record.RecordSet
-
Create record table.
- next() - Method in class ra.db.DatabaseConnections
-
Take StatementExecutor by round-robin, It's practical when had multi connections.
- next() - Method in class ra.db.MockDatabaseConnections
- next() - Method in class ra.db.MockResultSet
- next() - Method in interface ra.db.record.RecordCursor
-
Next row.
- next() - Method in class ra.db.record.RecordSet
-
Add one up the current row index.
- NON_FOOL - ra.util.defensive.DefensiveEnum
-
Foolproof.
- NONE - ra.util.defensive.DefensiveEnum
-
None.
- normalInt() - Method in annotation type ra.util.annotation.Defenses
-
check argument value valid ,type=String.
- now() - Static method in class ra.util.Iso8601
-
Get current date and time formatted as ISO 8601 string.
- now(boolean) - Static method in class ra.util.Iso8601
-
Get current date and time formatted as ISO 8601 string.
O
- offline(int) - Method in interface ra.net.processor.CommandProcessorProvider
-
Offline event.
- offline(int) - Method in class ra.net.processor.DataNetCommandProvider
- offline(int) - Method in class ra.net.processor.NetCommandProvider
- onAuthenticationFailure(String, int) - Method in interface ra.server.basis.OnRequestListener
-
Invalid request or verify authentication failure.
- OnceConnection - Class in ra.db.connection
-
Provide execute SQL statement using a database connection, and the connection is not thread safe.
- OnceConnection(DatabaseParameters) - Constructor for class ra.db.connection.OnceConnection
-
Initialize.
- OnceDatabaseFactory - Class in ra.db
-
Get connection use asynchronous mode.
- OnceDatabaseFactory(Supplier<DatabaseParameters>) - Constructor for class ra.db.OnceDatabaseFactory
-
Initialize.
- OnceDatabaseFactory(DatabaseParameters) - Constructor for class ra.db.OnceDatabaseFactory
-
Initialize.
- onClose() - Method in class ra.net.NetService
- onClose() - Method in class ra.net.nio.DataNetService
- onClose() - Method in interface ra.net.Serviceable
-
Close connection event.
- onCommandNotFound(String, int) - Method in interface ra.server.basis.OnRequestListener
-
When Mismatch command will invoke
OnRequestListener.onUnkonwException(String, String, int)
. - onCreatedStatement(Statement) - Method in interface ra.db.connection.OnCreatedStatementListener
-
Register listener that receives create SQL statements.
- OnCreatedStatementListener - Interface in ra.db.connection
-
Get statement.
- onHeartbeat(JSONObject, int) - Method in interface ra.server.basis.OnRequestListener
-
Heart beat.
- onMonitor(JSONObject, int) - Method in interface ra.server.basis.OnRequestListener
-
Monitor information.
- onNotEnoughSpace(File) - Method in interface ra.util.logging.LogRecord.OnNotEnoughSpaceListener
-
It will be called on, when has not enough storage space remaining.
- onRequest(DefaultRequest) - Method in interface ra.server.basis.OnRequestListener
-
Received request.
- OnRequestListener - Interface in ra.server.basis
-
The server received event from a client request.
- onUnkonwException(String, String, int) - Method in interface ra.server.basis.OnRequestListener
-
When Mismatch command will invoke
OnRequestListener.onUnkonwException(String, String, int)
. - OperatingSystemProxy - Class in ra.util
-
Proxy com.sun.management.OperatingSystemMXBean.
- OperatingSystemProxy() - Constructor for class ra.util.OperatingSystemProxy
-
Initialize.
- optField(String) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- optField(String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index， Return Object null, if the value is null.
- optField(String, int) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- optField(String, int) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the earmark row index， Return Object null, if the value is null.
- optField(String, String) - Method in interface ra.db.record.RecordCursor
-
Get value by specified field name.
- optField(String, String) - Method in class ra.db.record.RecordSet
-
Take the column value of the name and the current index， Return Object null, if the value is null.
- Optional - Annotation Type in ra.util.annotation
-
Tag member field is optional.
- optLocalHostAddress(Object) - Method in class ra.util.Monitor
-
Returns the local IP address, ex: <IP_ADDRESS>, and when local is no address will return feedback.
- OriginalConnection - Class in ra.db.connection
-
Provide execute SQL statement using a keep database connection, and the connection is not thread safe.
- OriginalConnection(DatabaseParameters) - Constructor for class ra.db.connection.OriginalConnection
-
Initialize.
P
- PACKAGE - Static variable in interface ra.net.nio.DataPackageProtocol
-
Package.
- PackageHandleInput - Class in ra.net.nio
-
Receive the packet and parse it.
- PackageHandleInput() - Constructor for class ra.net.nio.PackageHandleInput
-
Initialize.
- PackageHandleOutput - Class in ra.net.nio
-
Process package structure before sending.
- PackageHandleOutput() - Constructor for class ra.net.nio.PackageHandleOutput
-
Initialize.
- parallelStream() - Method in interface ra.db.record.RecordCursor
-
Returns parallel stream of the number of data after the query is completed.
- parallelStream() - Method in class ra.db.record.RecordSet
-
Return the parallel stream in SQL statement execute finish.
- parse(String) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.parse(String)
. - parse(String, ParsePosition) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.parseObject(String, ParsePosition)
. - parse(DataType, byte[]) - Static method in class ra.net.nio.Data
-
Create data.
- parseObject(String) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
Format.parseObject(String)
. - parseObject(String, ParsePosition) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.parseObject(String, ParsePosition)
. - PB - ra.util.SpaceUnit
-
Petabytes.
- prepareCall(String) - Method in class ra.db.MockConnection
- prepareCall(String, int, int) - Method in class ra.db.MockConnection
- prepareCall(String, int, int, int) - Method in class ra.db.MockConnection
- prepareStatement(String) - Method in class ra.db.MockConnection
- prepareStatement(String, int) - Method in class ra.db.MockConnection
- prepareStatement(String, int[]) - Method in class ra.db.MockConnection
- prepareStatement(String, int, int) - Method in class ra.db.MockConnection
- prepareStatement(String, int, int, int) - Method in class ra.db.MockConnection
- prepareStatement(String, String[]) - Method in class ra.db.MockConnection
- prettyPrintJson(String) - Method in class ra.util.Utility
-
A simple implementation to pretty-print JSON file.
- prettyPrintJson(String, String) - Method in class ra.util.Utility
-
A simple implementation to pretty-print JSON file.
- prettyPrintJson(JSONArray) - Method in class ra.util.Utility
-
A simple implementation to pretty-print JSON file.
- prettyPrintJson(JSONObject) - Method in class ra.util.Utility
-
A simple implementation to pretty-print JSON file.
- previous() - Method in interface ra.db.record.RecordCursor
-
Previous row.
- previous() - Method in class ra.db.record.RecordSet
-
Subtract one from the current row index.
- put(String) - Method in class ra.net.MessageReceiver
-
Put the message to queue.
- put(String, byte[]) - Method in class ra.db.Row
-
Put the value specifies key in single rows.
- putAndAwake(String) - Method in class ra.net.MessageReceiver
-
Put the message to the queue and awake queue.
- putDataNetService(int, DataNetService) - Method in class ra.net.NetServerApplication
-
Put DataNetService.
- putNetService(int, NetService) - Method in class ra.net.NetServerApplication
-
Put
NetService
. - putService(int, Serviceable<?>) - Method in class ra.net.NetServerApplication
-
Put Serviceable.
- putService(String, Serviceable<?>) - Method in class ra.net.NetServerApplication
-
Put Serviceable.
- putUser(int, User) - Method in class ra.net.NetServerApplication
-
Put the user into user pool.
Q
- quote(String) - Static method in class ra.util.sql.EscapeString
-
Escape data to protected against SQL Injection.
- Quote - Annotation Type in ra.util.annotation
-
When tag member field as Quote annotation, the field will execute escape string.
R
- ra.db - package ra.db
- ra.db.connection - package ra.db.connection
- ra.db.parameter - package ra.db.parameter
- ra.db.record - package ra.db.record
- ra.net - package ra.net
- ra.net.nio - package ra.net.nio
- ra.net.processor - package ra.net.processor
- ra.net.request - package ra.net.request
- ra.ref - package ra.ref
- ra.server.basis - package ra.server.basis
- ra.util - package ra.util
- ra.util.annotation - package ra.util.annotation
- ra.util.compression - package ra.util.compression
- ra.util.defensive - package ra.util.defensive
- ra.util.logging - package ra.util.logging
- ra.util.parser - package ra.util.parser
- ra.util.sql - package ra.util.sql
- read() - Method in class ra.util.compression.GzipFileStringInput
- read() - Method in class ra.util.compression.SnappyFileStringInput
- read() - Method in interface ra.util.compression.StringInput
-
Reads a single character.
- readByte(BufferedInputStream, Function<Data, Boolean>) - Method in class ra.net.nio.PackageHandleInput
-
Read bytes.
- readFile(String) - Method in class ra.util.Utility
-
Read file.
- readFile(String, String) - Method in class ra.util.Utility
-
Read file.
- readFileToJsonArray(String) - Method in class ra.util.Utility
-
Read file and convert to
JSONArray
. - readFileToJsonObject(String) - Method in class ra.util.Utility
-
Read file and convert to
JSONObject
. - readLine() - Method in class ra.util.compression.GzipFileStringInput
- readLine() - Method in class ra.util.compression.SnappyFileStringInput
- readLine() - Method in interface ra.util.compression.StringInput
-
Reads a single string.
- REASON_HAS_SPACE - ra.util.defensive.DefaultReason
-
field value has space.
- REASON_NON_EXISTS - ra.util.defensive.DefaultReason
-
Required fields are missing.
- REASON_NOT_INT - ra.util.defensive.DefaultReason
-
field value not number.
- receivedRequest(NetService.NetRequest) - Method in class ra.net.processor.NetCommandProvider
-
Process event that received the request.
- receivedRequest(DataNetService.DataNetRequest) - Method in class ra.net.processor.DataNetCommandProvider
-
Process event that received the request.
- Record - Interface in ra.db.record
-
Record.
- RecordCursor - Interface in ra.db.record
-
The result of query when executes SQL statement via statement executor.
- RecordSet - Class in ra.db.record
-
The record of query database.
- RecordSet(DatabaseCategory) - Constructor for class ra.db.record.RecordSet
-
Initialize.
- RecordSpliterator<T extends Record> - Class in ra.db.record
-
Parallel processing record.
- RecordSpliterator(T, int, int) - Constructor for class ra.db.record.RecordSpliterator
-
initialize.
- recursiveClassFields(Class<?>, VisitClassStrategy) - Method in class ra.util.Utility
-
Visit member of class.
- Reference<T> - Class in ra.ref
-
Any type of Reference.
- Reference() - Constructor for class ra.ref.Reference
-
Initialize.
- Reference(T) - Constructor for class ra.ref.Reference
-
Initialize.
- releaseSavepoint(Savepoint) - Method in class ra.db.MockConnection
- removeLogPath(String) - Method in class ra.util.logging.LogDelete
-
Earmark the folder to Delete the Log file.
- removeOpenResultSet(ResultSetInternalMethods) - Method in class ra.db.MockStatement
- removeUser(int) - Method in class ra.net.NetServerApplication
-
User offline.
- replaceMember(Object, String, Object) - Method in class ra.util.Utility
-
Replace specific member of the object.
- Request - Class in ra.net.request
-
Connection request.
- Request() - Constructor for class ra.net.request.Request
-
Initialize.
- Request(Request) - Constructor for class ra.net.request.Request
-
Initialize.
- Request.Builder - Class in ra.net.request
-
builder.
- RequestCommand - Annotation Type in ra.util.annotation
-
When tag member field as Quote annotation, the field will execute escape string.
- requestDelete() - Method in class ra.util.logging.LogDelete
-
Request that deletes Log file.
- Required - Annotation Type in ra.util.annotation
-
Tag member field is required.
- Response - Class in ra.server.basis
-
Response.
- Response(int, SenderAdapter) - Constructor for class ra.server.basis.Response
-
initialize.
- ResultConverter - Interface in ra.db.record
-
Convert the result of a database query.
- rollback() - Method in class ra.db.MockConnection
- rollback(Savepoint) - Method in class ra.db.MockConnection
- round(double, int) - Static method in class ra.util.Arith
-
Provide accurate decimal rounding processing.
- Row - Class in ra.db
-
Row of query result.
- Row() - Constructor for class ra.db.Row
-
Initialize.
- RowSet - Interface in ra.db
-
Query row.
- run() - Method in class ra.db.DatabaseHeartbeat
- run() - Method in class ra.net.MessageReceiver
- run() - Method in class ra.net.NetService
- run() - Method in class ra.net.NetSocketWriterKeep
- run() - Method in class ra.net.nio.DataNetService
- run() - Method in class ra.net.nio.Sender
- run() - Method in class ra.net.SendProcessor
- run() - Method in class ra.net.SendProcessorKeep
- run() - Method in class ra.util.logging.LogDelete
- run(Class<?>, String...) - Static method in class ra.net.NetServerApplication
-
Run server.
S
- send(String) - Method in class ra.net.NetService
-
Send message.
- send(String) - Method in class ra.net.NetSocketWriter
-
Sent message synchronous.
- send(String) - Method in class ra.net.NetSocketWriterKeep
-
Send message.
- send(String) - Method in class ra.net.request.DefaultRequest
-
Send message as a response.
- send(String) - Method in class ra.net.SendProcessor
-
Send message.
- send(String) - Method in class ra.net.SendProcessorKeep
-
Send message.
- send(String) - Method in class ra.server.basis.Response
-
Send message.
- send(String, int) - Method in class ra.net.MessageSender
-
Sent message specific user.
- send(String, int) - Method in class ra.net.NetSocketWriter
-
Sent message synchronous.
- send(String, int) - Method in class ra.server.basis.MockSendAdapter
- send(String, int) - Method in class ra.server.basis.SenderAdapter
- send(JSONArray) - Method in class ra.server.basis.Response
-
Send message.
- send(JSONObject) - Method in class ra.server.basis.Response
-
Send message.
- send(JSONObject, int) - Method in class ra.server.basis.MockSendAdapter
- send(JSONObject, int) - Method in class ra.server.basis.SenderAdapter
-
Send message to specify user by index.
- send(Data) - Method in class ra.net.nio.DataNetService
-
Sent to client text or file.
- send(Data) - Method in class ra.net.nio.Sender
-
Send data.
- send(T) - Method in interface ra.net.Sendable
-
Send message.
- Sendable<T> - Interface in ra.net
-
Sendable.
- sendAsync(String) - Method in class ra.net.NetSocketWriter
-
Sent message asynchronous.
- sendClose(String) - Method in class ra.net.NetService
-
Close connection after sending message.
- sendClose(String) - Method in class ra.net.request.DefaultRequest
-
Send message as a response and close connection.
- sendClose(String) - Method in class ra.net.SendProcessor
-
Close the connection after sent the message.
- sendClose(String) - Method in class ra.net.SendProcessorKeep
- sendClose(String) - Method in class ra.server.basis.Response
-
Send message and close connection.
- sendClose(String, int) - Method in class ra.net.MessageSender
-
After sending messages to specific user will close user connection.
- sendClose(String, int) - Method in class ra.server.basis.MockSendAdapter
- sendClose(String, int) - Method in class ra.server.basis.SenderAdapter
- sendClose(JSONArray) - Method in class ra.server.basis.Response
-
Send message and close connection.
- sendClose(JSONObject) - Method in class ra.server.basis.Response
-
Send message and close connection.
- sendClose(JSONObject, int) - Method in class ra.server.basis.MockSendAdapter
- sendClose(JSONObject, int) - Method in class ra.server.basis.SenderAdapter
-
Ensure send message to specify user before close connection.
- sendClose(Data) - Method in class ra.net.nio.DataNetService
-
Close client connection after sent to client text or file.
- sendClose(Data) - Method in class ra.net.nio.Sender
-
Close sender after sending data.
- sendClose(T) - Method in interface ra.net.Sendable
-
Close connection after sent the message.
- Sender<E> - Class in ra.net.nio
-
Provide sent message use queue.
- Sender(Serviceable<E>, Transfer, Socket, int) - Constructor for class ra.net.nio.Sender
-
Initialize.
- SenderAdapter - Class in ra.server.basis
-
Message sender.
- SenderAdapter(MessageSender) - Constructor for class ra.server.basis.SenderAdapter
-
Not record log.
- SenderAdapter(MessageSender, LogEveryDay, LogEveryDay) - Constructor for class ra.server.basis.SenderAdapter
-
If argument 'commonLog' and 'errorLog' not null will enable logging.
- sendError(String, int, String) - Method in class ra.server.basis.Response
-
Send message and record log.
- sendError(String, int, String, int) - Method in class ra.server.basis.Common
-
Send error message.
- sendError(String, int, String, int) - Method in class ra.server.basis.SenderAdapter
-
Logging after sending error message.
- sendErrorClose(String, int, String) - Method in class ra.server.basis.Response
-
Disconnect the client connection after sending the error message and record logging.
- sendErrorClose(String, int, String, int) - Method in class ra.server.basis.Common
-
Logging after sending error message and close connection.
- sendErrorClose(String, int, String, int) - Method in class ra.server.basis.MockSendAdapter
- sendErrorClose(String, int, String, int) - Method in class ra.server.basis.SenderAdapter
-
Logging after sending error message and close connection.
- sendMonitor(int, long) - Method in class ra.server.basis.Common
-
Send server status.
- sendPong(JSONObject, int) - Method in class ra.server.basis.Common
-
Send heartbeat.
- SendProcessor - Class in ra.net
-
Provide sent message from the queue.
- SendProcessor(NetServiceable) - Constructor for class ra.net.SendProcessor
-
Initialize.
- SendProcessor(NetServiceable, Socket, int) - Constructor for class ra.net.SendProcessor
-
Initialize.
- SendProcessorKeep - Class in ra.net
-
The queue of message.
- SendProcessorKeep(NetSocketWriterKeep) - Constructor for class ra.net.SendProcessorKeep
-
Initialize.
- ServerApplication - Annotation Type in ra.util.annotation
-
When tag member field as Quote annotation, the field will execute escape string.
- ServerConfiguration - Class in ra.net
-
Default configuration.
- ServerConfiguration(String) - Constructor for class ra.net.ServerConfiguration
-
Load application.properties.
- ServerConfiguration(Path) - Constructor for class ra.net.ServerConfiguration
-
Load application.properties.
- Serviceable<T> - Interface in ra.net
-
The service provide send message.
- ServiceLite<T> - Interface in ra.server.basis
-
Service.
- ServiceLoader<T> - Class in ra.server.basis
-
Service loader.
- ServiceLoader() - Constructor for class ra.server.basis.ServiceLoader
-
Initialize.
- serviceMode() - Method in annotation type ra.util.annotation.ServerApplication
-
Each command handler of the service.
- set(boolean) - Method in class ra.ref.BooleanReference
-
Set the value.
- set(double) - Method in class ra.ref.DoubleReference
-
Set the value.
- set(float) - Method in class ra.ref.FloatReference
-
Set the value.
- set(int) - Method in class ra.ref.IntReference
-
Set the value.
- set(long) - Method in class ra.ref.LongReference
-
Set the value.
- set(short) - Method in class ra.ref.ShortReference
-
Set the value.
- set(T) - Method in class ra.ref.Reference
-
Set the value.
- setAllFieldsValue(Object, RecordCursor, Function<SerializedName, String>) - Method in class ra.util.Utility
-
Assign value to object member from
RecordCursor
. - setAuthorization(String) - Method in class ra.net.request.DefaultRequest
-
Set authorization of the request.
- setAutoCommit(boolean) - Method in class ra.db.MockConnection
- setCalendar(Calendar) - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
DateFormat.setCalendar(Calendar)
. - setCatalog(String) - Method in class ra.db.MockConnection
- setCaughtExceptionHandler(Consumer<Throwable>) - Method in class ra.util.CaughtExceptionHandler
-
To register listener event that caught exception.
- setCheckTime(Duration) - Method in class ra.util.logging.LogDelete
-
Checking the expired Log files each interval time, which is needed to delete.
- setClientInfo(String, String) - Method in class ra.db.MockConnection
- setClientInfo(Properties) - Method in class ra.db.MockConnection
- setCommand(String) - Method in class ra.net.request.DefaultRequest
-
Set command of the request.
- setCommandProcessorProvider(CommandProcessorProvider<NetService.NetRequest>) - Method in class ra.net.NetService
-
Set command processor.
- setCommandProcessorProvider(CommandProcessorProvider<NetService.NetRequest>) - Method in class ra.net.NetSocketWriterKeep.Builder
-
Set CommandProcessorProvider.
- setCommandProcessorProvider(CommandProcessorProvider<DataNetService.DataNetRequest>) - Method in class ra.net.nio.DataNetService.Builder
-
Set CommandProcessorProvider.
- setCompressionMode(CompressionMode) - Method in class ra.util.logging.LogRecord
-
Setting the Compression Mode on a real-time saves Log.
- setCompressionMode(CompressionMode) - Method in class ra.util.logging.LogSettings
-
The Compression Mode on a real-time saves Log.
- setCompressionTimeUnit(CompressionTimeUnit) - Method in class ra.util.logging.LogSettings
-
The time unit of the Log file be created.
- setCursorName(String) - Method in class ra.db.MockStatement
- setData(Data) - Method in class ra.net.nio.DataNetService.DataNetRequest.Builder
-
Set data.
- setEnable(boolean) - Method in class ra.util.logging.LogSettings
-
Set log enable.
- setErrorConsoleOutputListener(Consumer<String>) - Method in class ra.util.CaughtExceptionHandler
-
The following situations will trigger events:.
- setErrorLogEnable(Supplier<LogSettings>) - Method in class ra.server.basis.Global
-
Set enable that server error log.
- setErrorLogEnable(LogSettings) - Method in class ra.server.basis.Global
-
Set the error log file path and storage period.
- setEscapeProcessing(boolean) - Method in class ra.db.MockStatement
- setExecuteCommitListenerListener(Function<List<String>, Integer>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setExecuteListener(Function<String, Boolean>) - Method in class ra.db.MockConnection
-
Register listener on event that execute operate.
- setExecuteListener(Function<String, Boolean>) - Method in class ra.db.MockStatement
-
Register listener on event that execute operate.
- setExecuteListener(Function<String, Integer>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setExecuteQueryListener(Function<String, ResultSet>) - Method in class ra.db.MockConnection
-
Register listener on event that execute the query.
- setExecuteQueryListener(Function<String, ResultSet>) - Method in class ra.db.MockStatement
-
Register listener on event that execute the query.
- setExecuteUpdateListener(Function<String, Integer>) - Method in class ra.db.MockConnection
-
Register listener on event that execute the update.
- setExecuteUpdateListener(Function<String, Integer>) - Method in class ra.db.MockStatement
-
Register listener on event that execute the update.
- setFakeQueryColumnsName(String[]) - Method in class ra.db.MockStatementExecutor
-
Set column name.
- setFakeQueryColumnsNameList(List<String>) - Method in class ra.db.MockStatementExecutor
-
Setting all column name into the fake table.
- setFetchDirection(int) - Method in class ra.db.MockStatement
- setFetchSize(int) - Method in class ra.db.MockStatement
- setFieldsUsingAlternate(Object, RecordCursor, int) - Method in class ra.util.Utility
-
Assign an object member value.
- setFieldsUsingSerializedName(Object, RecordCursor) - Method in class ra.util.Utility
-
Assign an object member value.
- setHeartbeat(String) - Method in class ra.server.basis.Common.Builder
-
Set server heart beat.
- setHoldability(int) - Method in class ra.db.MockConnection
- setHoldResultsOpenOverClose(boolean) - Method in class ra.db.MockStatement
- setHost(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set host of databases.
- setHost(String) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set host of databases.
- setHost(String) - Method in class ra.net.NetSocketWriter.Builder
-
Set server host.
- setHost(String) - Method in class ra.net.NetSocketWriterKeep.Builder
-
Set server host.
- setIndex(int) - Method in class ra.net.DefaultUser
-
Assign index for the user.
- setIndex(int) - Method in class ra.net.NetService.Builder
-
Set index.
- setIndex(int) - Method in class ra.net.NetSocketWriterKeep.Builder
-
Set specify index.
- setIndex(int) - Method in class ra.net.nio.DataNetService.Builder
-
Set index.
- setIndex(int) - Method in class ra.net.request.Request.Builder
-
Set index.
- setIndex(int) - Method in interface ra.net.User
-
Assign index for the user.
- setInsertListener(Function<String, Integer>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setIp(String) - Method in class ra.net.DefaultUser
-
Set the IP address for the user.
- setIp(String) - Method in class ra.net.request.Request.Builder
-
Set IP address of remote.
- setIp(String) - Method in interface ra.net.User
-
Set the IP address for the user.
- setIsLive(boolean) - Method in class ra.db.connection.MockConcurrentConnection
-
Set state of database connection.
- setIsLive(boolean) - Method in class ra.db.connection.MockOnceConnection
-
Set database available state.
- setIsLive(boolean) - Method in class ra.db.connection.MockOriginalConnection
-
Set database available state.
- setIsLive(boolean) - Method in class ra.db.MockStatementExecutor
-
Set mock database state whether available.
- setJson(JSONObject) - Method in class ra.net.request.DefaultRequest
-
Set JSONObject of the request.
- setKeepDays(int) - Method in class ra.util.logging.LogSettings
-
Set log keep days.
- setLeft(L) - Method in class ra.ref.BiReference
-
Set element of the left.
- setLocalInfileInputStream(InputStream) - Method in class ra.db.MockStatement
- setLogEnable(boolean) - Method in class ra.util.logging.LogEveryDay
-
Enable log.
- setMaxFieldSize(int) - Method in class ra.db.MockStatement
- setMaxFileSize(long, SpaceUnit) - Method in class ra.util.logging.LogEveryDay
-
Setting the limit size of Log file.
- setMaxFileSize(long, SpaceUnit) - Method in class ra.util.logging.LogRecord
-
Setting the limit size of Log file.
- setMaxRows(int) - Method in class ra.db.MockStatement
- setMockStatementExecutor(MockStatementExecutor) - Method in class ra.db.MockDatabaseConnections
-
Set listener.
- setMonitorAdditionalInfo(Supplier<String>) - Method in class ra.server.basis.Common
-
Set the monitoring value to return additional additional information.
- setMultiOpenListener(Consumer<String>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setName(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set database name.
- setName(String) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set database name.
- setName(String) - Method in class ra.db.parameter.MysqlParameters
-
Set database name.
- setName(String) - Method in class ra.net.DefaultUser
-
Set name for the user.
- setName(String) - Method in interface ra.net.User
-
Set name for the user.
- setNetServiceProvider(NetServiceProvider) - Method in class ra.net.MessageSender
-
Set NetServiceProvider.
- setNetworkTimeout(Executor, int) - Method in class ra.db.MockConnection
- setOnNotEnoughSpaceListener(LogRecord.OnNotEnoughSpaceListener) - Method in class ra.util.logging.LogRecord
-
Register listener to receive events when not enough space.
- setOnReadLineListener(Consumer<Data>) - Method in class ra.net.nio.DataSocket
-
Register listener.
- setOpenListener(Consumer<String>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setPassword(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set database user password.
- setPassword(String) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set database user password.
- setPath(String) - Method in class ra.util.logging.LogSettings
-
Set log path.
- setPingTarget(PingTarget) - Method in class ra.db.MockStatement
- setPoolable(boolean) - Method in class ra.db.MockStatement
- setPort(int) - Method in class ra.net.NetSocketWriter.Builder
-
Set server port.
- setPort(int) - Method in class ra.net.NetSocketWriterKeep.Builder
-
Set server port.
- setPort(Integer) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set the port of TCP mode.
- setPort(Integer) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set database port.
- setProfileSql(boolean) - Method in class ra.db.parameter.MysqlParameters.Builder
-
enable/disable debug mode.
- setProperties(Supplier<Properties>) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set connection setting and DbSettings.
- setProperties(Supplier<Properties>) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set connection setting and DbSettings.
- setQueryTimeout(int) - Method in class ra.db.MockStatement
- setReadOnly(boolean) - Method in class ra.db.MockConnection
- setReciveTime(long) - Method in class ra.net.request.DefaultRequest
-
Set receive time of the request.
- setRegeditCode(String) - Method in class ra.net.NetSocketWriterKeep
-
Send code when first connected.
- setRight(R) - Method in class ra.ref.BiReference
-
Set element of the right.
- setSavepoint() - Method in class ra.db.MockConnection
- setSavepoint(String) - Method in class ra.db.MockConnection
- setSchema(String) - Method in class ra.db.MockConnection
- setSendCompilete(boolean) - Method in class ra.net.NetService
- setSendCompilete(boolean) - Method in interface ra.net.NetServiceable
-
Enable encryption.
- setSender(Sendable<String>) - Method in class ra.net.NetService.NetRequest.Builder
-
Set message sender.
- setSender(Sendable<Data>) - Method in class ra.net.nio.DataNetService.DataNetRequest.Builder
-
Set message sender.
- setSenderAdapter(SenderAdapter) - Method in class ra.server.basis.Common.Builder
-
Set sender.
- setSendExecutor(Executor) - Method in class ra.net.NetService.Builder
-
Set executor service.
- setSendExecutor(Executor) - Method in class ra.net.nio.DataNetService.Builder
-
Set executor service.
- setSendLstener(BiConsumer<Method, String>) - Method in class ra.server.basis.MockSendAdapter
-
Set listener.
- setSendTimeOut(int) - Method in class ra.net.NetSocketWriter.Builder
-
Set timeout that to send message.
- setServerAlias(String) - Method in class ra.server.basis.Common.Builder
-
Set server alias.
- setServerLogEnable(Supplier<LogSettings>) - Method in class ra.server.basis.Global
-
Set enable that server log.
- setServerLogEnable(LogSettings) - Method in class ra.server.basis.Global
-
Set the log file path and storage period.
- setServerName(String) - Method in class ra.server.basis.Common.Builder
-
Set server name.
- setServerPort(int) - Method in class ra.server.basis.Common.Builder
-
Set server port.
- setServerSocket(ServerSocket) - Method in class ra.net.NetService.Builder
-
Set ServerSocket.
- setServerSocket(ServerSocket) - Method in class ra.net.nio.DataNetService.Builder
-
Set server socket.
- setServerVersion(String) - Method in class ra.server.basis.Common.Builder
-
Set server version.
- setSimpleDateFormat(String) - Method in class ra.util.logging.LogRecord
-
The Date format style of write log into Log file.
- setSocketSoTimeout(Duration) - Method in class ra.net.NetService.Builder
-
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
- setSocketSoTimeout(Duration) - Method in class ra.net.nio.DataNetService.Builder
-
Set timeout.
- setSoTimeout(int) - Method in class ra.net.nio.Sender
-
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
- setSoTimeout(int) - Method in class ra.net.SendProcessor
-
Set timeout value.
- setSource(String) - Method in class ra.net.request.DefaultRequest
-
Set source text of the request.
- setText(String) - Method in class ra.net.NetService.NetRequest.Builder
-
Set text.
- setTransactionIsolation(int) - Method in class ra.db.MockConnection
- setTransferListener(Transfer) - Method in class ra.net.nio.DataNetService.Builder
-
Register listener.
- setTryExecuteListener(Function<String, Integer>) - Method in class ra.db.MockStatementExecutor
-
Register listener.
- setTypeMap(Map<String, Class<?>>) - Method in class ra.db.MockConnection
- setupConnection(Connection) - Method in interface ra.db.parameter.ConnectionSetupable
-
Take the connection object, after the connection object has connected.
- setupDefaultProperty(Properties) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Load default properties before connecting database.
- setUser(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Set database user name.
- setUser(String) - Method in class ra.db.parameter.MysqlParameters.Builder
-
Set database user name.
- setValue(Object, Field, String) - Method in class ra.util.Utility
-
Assign value to object member.
- sformat(double) - Method in class ra.util.Utility
-
Numbers are converted from scientific symbols back to numbers.
- ShortReference - Class in ra.ref
-
Short type of refercnce.
- ShortReference() - Constructor for class ra.ref.ShortReference
-
Initialize.
- ShortReference(short) - Constructor for class ra.ref.ShortReference
-
Initialize.
- shouldSkipClass(Class<?>) - Method in interface ra.util.parser.VisitClassStrategy
-
Decide whether to skip access to the parent class.
- shouldVisitField(Field) - Method in interface ra.util.parser.VisitClassStrategy
-
Each field object can be obtained for the specified class.
- showAll(Object) - Method in class ra.util.Utility
-
List object all member and value.
- showSetterGetter(Class<T>) - Method in class ra.util.Utility
-
List object that setter, getter method and value.
- SimpleDateFormatThreadSafe - Class in ra.util
-
Thread safe version of
SimpleDateFormat
. - SimpleDateFormatThreadSafe() - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SimpleDateFormatThreadSafe(String) - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SimpleDateFormatThreadSafe(String, DateFormatSymbols) - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SimpleDateFormatThreadSafe(String, Locale) - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SimpleDateFormatThreadSafe(String, TimeZone) - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SimpleDateFormatThreadSafe(Supplier<SimpleDateFormat>) - Constructor for class ra.util.SimpleDateFormatThreadSafe
-
Thread safe.
- SNAPPY - ra.util.compression.CompressionMode
-
SNAPPY.
- SnappyFileStringInput - Class in ra.util.compression
-
Use snappy to read text files.
- SnappyFileStringInput(File, String) - Constructor for class ra.util.compression.SnappyFileStringInput
-
Initialize.
- SnappyFileStringOutput - Class in ra.util.compression
-
Use snappy to compress the output text file.
- SnappyFileStringOutput(File, String) - Constructor for class ra.util.compression.SnappyFileStringOutput
-
Initialize.
- space() - Method in annotation type ra.util.annotation.Defenses
-
check argument value has no space.
- SpaceUnit - Enum in ra.util
-
Convert storage space unit.
- sprintf(int, double) - Method in class ra.util.Utility
-
Standardized floating point output.
- StatementExecutor - Interface in ra.db
-
SQL statement (CRUD) executor.
- StatementsFunction - Interface in ra.util.sql
-
Statements function.
- stream() - Method in interface ra.db.record.RecordCursor
-
Returns ordered stream of the number of data after the query is completed.
- stream() - Method in class ra.db.record.RecordSet
-
Return the serialization stream in SQL statement execute finish.
- StringFileOutput - Class in ra.util.compression
-
Output string with file.
- StringFileOutput(File, String) - Constructor for class ra.util.compression.StringFileOutput
-
Initialize.
- StringInput - Interface in ra.util.compression
-
Read string.
- StringOutput - Interface in ra.util.compression
-
Write string.
- sub(double, double) - Static method in class ra.util.Arith
-
Returns the subtraction of two values.
T
- TB - ra.util.SpaceUnit
-
Terabytes.
- tcp(String) - Method in class ra.db.parameter.H2Parameters.Builder
-
Server mode (remote connections) using TCP/IP.
- tcpInMemory() - Method in class ra.db.parameter.H2Parameters.Builder
-
Server mode (remote connections) using TCP/IP, and database use in-memory.
- TernaryFunction<T,U,O,R> - Interface in ra.util
-
Ternary Function.
- TEXT - ra.net.nio.DataType
-
Text.
- toBytes() - Method in class ra.net.nio.Data
-
Returns title appends content as bytes.
- toCalendar(String) - Static method in class ra.util.Iso8601
-
Transform ISO 8601 string to Calendar.
- toDate(String) - Static method in class ra.util.Iso8601
-
Transform ISO 8601 string to Date.
- toExceptionStackTrace(Throwable) - Method in class ra.util.Utility
-
Converts exception stack trace to string.
- toInt(byte[]) - Static method in enum ra.net.nio.DataType
-
Converts the data type to int.
- toLocalizedPattern() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.toLocalizedPattern()
. - toPattern() - Method in class ra.util.SimpleDateFormatThreadSafe
-
See
SimpleDateFormat.toPattern()
. - toPlainString(double) - Static method in class ra.util.Arith
-
Returns double value convert to plain string.
- toString() - Method in class ra.db.parameter.H2Parameters
- toString() - Method in class ra.db.parameter.MysqlParameters
- toString() - Method in class ra.db.record.RecordSet
- toString() - Method in class ra.net.nio.Data
- toString() - Method in class ra.net.TransmissionEnd
- toString() - Method in class ra.ref.BiReference
- toString() - Method in class ra.ref.BooleanReference
- toString() - Method in class ra.ref.DoubleReference
- toString() - Method in class ra.ref.FloatReference
- toString() - Method in class ra.ref.IntReference
- toString() - Method in class ra.ref.LongReference
- toString() - Method in class ra.ref.Reference
- toString() - Method in class ra.ref.ShortReference
- toString() - Method in class ra.server.basis.ServiceLoader
- toString() - Method in class ra.util.logging.LogDelete
- toString() - Method in class ra.util.SimpleDateFormatThreadSafe
- transfer(Data, Writable) - Method in class ra.net.nio.PackageHandleOutput
- transfer(Data, Writable) - Method in interface ra.net.nio.Transfer
-
Transfer.
- Transfer - Interface in ra.net.nio
-
Transfer layer.
- TransmissionEnd - Class in ra.net
-
End of transmission.
- tryAdvance(Consumer<? super RowSet>) - Method in class ra.db.record.RecordSpliterator
- tryExecute(String) - Method in class ra.db.JdbcExecutor
-
Try to execute SQL statement (CRUD).
- tryExecute(String) - Method in interface ra.db.StatementExecutor
-
Try to execute SQL statement (CRUD).
- tryExecute(String, Consumer<Exception>) - Method in interface ra.db.DatabaseConnection
-
Try to execute SQL (INSERT,UPDATE,DELETE) statements.
- tryExecute(String, Consumer<Exception>) - Method in class ra.db.JdbcExecutor
-
Try to execute SQL statement (CRUD).
- tryExecute(String, Consumer<Exception>) - Method in class ra.db.MockStatementExecutor
- tryExecute(String, Consumer<Exception>) - Method in interface ra.db.StatementExecutor
-
Try to execute SQL statement (CRUD).
- tryGetConnection(DatabaseParameters) - Method in interface ra.db.DatabaseConnection
-
Try to get a database connection from database pool.
- trySplit() - Method in class ra.db.record.RecordSpliterator
U
- unwrap(Class<T>) - Method in class ra.db.MockConnection
- unwrap(Class<T>) - Method in class ra.db.MockStatement
- unzip(String, String) - Method in class ra.util.Utility
-
File uncompression uses ZIP.
- User - Interface in ra.net
-
Abstraction layer for user.
- Utility - Class in ra.util
-
Common tool class.
V
- value() - Method in annotation type ra.util.annotation.Configuration
-
Configuration path.
- value() - Method in annotation type ra.util.annotation.RequestCommand
-
API command.
- valueOf(byte[]) - Static method in enum ra.net.nio.DataType
-
Create type use type bytes.
- valueOf(int) - Static method in enum ra.net.nio.DataType
-
Create type uses specific type.
- valueOf(String) - Static method in enum ra.db.DatabaseCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.net.nio.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.util.compression.CompressionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.util.defensive.DefaultReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.util.defensive.DefensiveEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.util.logging.CompressionTimeUnit
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ra.util.SpaceUnit
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ra.db.DatabaseCategory
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.net.nio.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.util.compression.CompressionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.util.defensive.DefaultReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.util.defensive.DefensiveEnum
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.util.logging.CompressionTimeUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum ra.util.SpaceUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VisitClassStrategy - Interface in ra.util.parser
-
Visits class.
W
- Writable - Interface in ra.net.nio
-
Write byte.
- write(byte[], int, int) - Method in interface ra.net.nio.Writable
-
Write.
- write(File) - Method in class ra.net.nio.DataSocket
-
Write file.
- write(String) - Method in class ra.net.nio.DataSocket
-
Write text.
- write(String) - Method in class ra.util.compression.GzipFileStringOutput
- write(String) - Method in class ra.util.compression.SnappyFileStringOutput
- write(String) - Method in class ra.util.compression.StringFileOutput
- write(String) - Method in interface ra.util.compression.StringOutput
-
Writes a string.
- write(String) - Method in class ra.util.logging.LogEveryDay
-
Write log into the Log file.
- write(String) - Method in class ra.util.logging.LogRecord
-
Will not have text wraps automatically when write the log into file.
- write(Path) - Method in class ra.net.nio.DataSocket
-
Write file.
- write(JSONArray) - Method in class ra.net.nio.DataSocket
-
Write message.
- write(JSONObject) - Method in class ra.net.nio.DataSocket
-
Write message.
- writeln(String) - Method in class ra.util.logging.LogEveryDay
-
Will have text wraps automatically when write the log into file.
- writeln(String) - Method in class ra.util.logging.LogRecord
-
Will have text wraps automatically when write the log into file.
- writeln(String, String) - Method in class ra.util.logging.LogEveryDay
-
Will have text wraps automatically when write the log into file.
- writeln(String, String, int) - Method in class ra.util.logging.LogEveryDay
-
Will have text wraps automatically when write the log into file.
X
- XmlConfigParser - Class in ra.util.parser
-
A lightweight set of re-usable functions for general purpose parsing. support XML parsing styles.
- XmlConfigParser() - Constructor for class ra.util.parser.XmlConfigParser
-
A lightweight set of re-usable functions for general purpose parsing. support XML parsing styles.
Z
- zip(String, String) - Method in class ra.util.Utility
-
File compression uses ZIP.
example:
All Classes|All Packages