Package org.lwjgl.odbc
Class SQLPERF.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SQLPERF,SQLPERF.Buffer>
-
- org.lwjgl.odbc.SQLPERF.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SQLPERF>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SQLPERF
public static class SQLPERF.Buffer extends org.lwjgl.system.StructBuffer<SQLPERF,SQLPERF.Buffer> implements org.lwjgl.system.NativeResource
An array ofSQLPERFstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleAvgCursorSize()SQLPERF.BufferAvgCursorSize(double value)Sets the specified value to theAvgCursorSizefield.doubleAvgCursorUsed()SQLPERF.BufferAvgCursorUsed(double value)Sets the specified value to theAvgCursorUsedfield.doubleAvgFetchTime()SQLPERF.BufferAvgFetchTime(double value)Sets the specified value to theAvgFetchTimefield.doubleAvgTimeOpened()SQLPERF.BufferAvgTimeOpened(double value)Sets the specified value to theAvgTimeOpenedfield.intBuffersRec()SQLPERF.BufferBuffersRec(int value)Sets the specified value to theBuffersRecfield.intBuffersSent()SQLPERF.BufferBuffersSent(int value)Sets the specified value to theBuffersSentfield.intBytesRec()SQLPERF.BufferBytesRec(int value)Sets the specified value to theBytesRecfield.intBytesSent()SQLPERF.BufferBytesSent(int value)Sets the specified value to theBytesSentfield.intCurrentConnectionCount()SQLPERF.BufferCurrentConnectionCount(int value)Sets the specified value to theCurrentConnectionCountfield.intCurrentStmtCount()SQLPERF.BufferCurrentStmtCount(int value)Sets the specified value to theCurrentStmtCountfield.intCursorOpens()SQLPERF.BufferCursorOpens(int value)Sets the specified value to theCursorOpensfield.intCursorSize()SQLPERF.BufferCursorSize(int value)Sets the specified value to theCursorSizefield.intCursorUsed()SQLPERF.BufferCursorUsed(int value)Sets the specified value to theCursorUsedfield.intExecDirects()SQLPERF.BufferExecDirects(int value)Sets the specified value to theExecDirectsfield.intMaxConnectionsOpened()SQLPERF.BufferMaxConnectionsOpened(int value)Sets the specified value to theMaxConnectionsOpenedfield.intMaxOpenStmt()SQLPERF.BufferMaxOpenStmt(int value)Sets the specified value to theMaxOpenStmtfield.intmsExecutionTime()SQLPERF.BuffermsExecutionTime(int value)Sets the specified value to themsExecutionTimefield.intmsNetWorkServerTime()SQLPERF.BuffermsNetWorkServerTime(int value)Sets the specified value to themsNetWorkServerTimefield.doublePercentCursorUsed()SQLPERF.BufferPercentCursorUsed(double value)Sets the specified value to thePercentCursorUsedfield.intServerRndTrips()SQLPERF.BufferServerRndTrips(int value)Sets the specified value to theServerRndTripsfield.intSQLExecutes()SQLPERF.BufferSQLExecutes(int value)Sets the specified value to theSQLExecutesfield.intSQLFetchCount()SQLPERF.BufferSQLFetchCount(int value)Sets the specified value to theSQLFetchCountfield.intSQLFetchTime()SQLPERF.BufferSQLFetchTime(int value)Sets the specified value to theSQLFetchTimefield.intSQLidu()SQLPERF.BufferSQLidu(int value)Sets the specified value to theSQLidufield.intSQLiduRows()SQLPERF.BufferSQLiduRows(int value)Sets the specified value to theSQLiduRowsfield.intSQLPrepares()SQLPERF.BufferSQLPrepares(int value)Sets the specified value to theSQLPreparesfield.intSQLSelectRows()SQLPERF.BufferSQLSelectRows(int value)Sets the specified value to theSQLSelectRowsfield.intSQLSelects()SQLPERF.BufferSQLSelects(int value)Sets the specified value to theSQLSelectsfield.intSumConnectionsOpened()SQLPERF.BufferSumConnectionsOpened(int value)Sets the specified value to theSumConnectionsOpenedfield.intSumConnectiontime()SQLPERF.BufferSumConnectiontime(int value)Sets the specified value to theSumConnectiontimefield.intSumOpenStmt()SQLPERF.BufferSumOpenStmt(int value)Sets the specified value to theSumOpenStmtfield.intTimerResolution()SQLPERF.BufferTimerResolution(int value)Sets the specified value to theTimerResolutionfield.intTransactions()SQLPERF.BufferTransactions(int value)Sets the specified value to theTransactionsfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSQLPERF.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided bySQLPERF.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
TimerResolution
public int TimerResolution()
- Returns:
- the value of the
TimerResolutionfield.
-
SQLidu
public int SQLidu()
- Returns:
- the value of the
SQLidufield.
-
SQLiduRows
public int SQLiduRows()
- Returns:
- the value of the
SQLiduRowsfield.
-
SQLSelects
public int SQLSelects()
- Returns:
- the value of the
SQLSelectsfield.
-
SQLSelectRows
public int SQLSelectRows()
- Returns:
- the value of the
SQLSelectRowsfield.
-
Transactions
public int Transactions()
- Returns:
- the value of the
Transactionsfield.
-
SQLPrepares
public int SQLPrepares()
- Returns:
- the value of the
SQLPreparesfield.
-
ExecDirects
public int ExecDirects()
- Returns:
- the value of the
ExecDirectsfield.
-
SQLExecutes
public int SQLExecutes()
- Returns:
- the value of the
SQLExecutesfield.
-
CursorOpens
public int CursorOpens()
- Returns:
- the value of the
CursorOpensfield.
-
CursorSize
public int CursorSize()
- Returns:
- the value of the
CursorSizefield.
-
CursorUsed
public int CursorUsed()
- Returns:
- the value of the
CursorUsedfield.
-
PercentCursorUsed
public double PercentCursorUsed()
- Returns:
- the value of the
PercentCursorUsedfield.
-
AvgFetchTime
public double AvgFetchTime()
- Returns:
- the value of the
AvgFetchTimefield.
-
AvgCursorSize
public double AvgCursorSize()
- Returns:
- the value of the
AvgCursorSizefield.
-
AvgCursorUsed
public double AvgCursorUsed()
- Returns:
- the value of the
AvgCursorUsedfield.
-
SQLFetchTime
public int SQLFetchTime()
- Returns:
- the value of the
SQLFetchTimefield.
-
SQLFetchCount
public int SQLFetchCount()
- Returns:
- the value of the
SQLFetchCountfield.
-
CurrentStmtCount
public int CurrentStmtCount()
- Returns:
- the value of the
CurrentStmtCountfield.
-
MaxOpenStmt
public int MaxOpenStmt()
- Returns:
- the value of the
MaxOpenStmtfield.
-
SumOpenStmt
public int SumOpenStmt()
- Returns:
- the value of the
SumOpenStmtfield.
-
CurrentConnectionCount
public int CurrentConnectionCount()
- Returns:
- the value of the
CurrentConnectionCountfield.
-
MaxConnectionsOpened
public int MaxConnectionsOpened()
- Returns:
- the value of the
MaxConnectionsOpenedfield.
-
SumConnectionsOpened
public int SumConnectionsOpened()
- Returns:
- the value of the
SumConnectionsOpenedfield.
-
SumConnectiontime
public int SumConnectiontime()
- Returns:
- the value of the
SumConnectiontimefield.
-
AvgTimeOpened
public double AvgTimeOpened()
- Returns:
- the value of the
AvgTimeOpenedfield.
-
ServerRndTrips
public int ServerRndTrips()
- Returns:
- the value of the
ServerRndTripsfield.
-
BuffersSent
public int BuffersSent()
- Returns:
- the value of the
BuffersSentfield.
-
BuffersRec
public int BuffersRec()
- Returns:
- the value of the
BuffersRecfield.
-
BytesSent
public int BytesSent()
- Returns:
- the value of the
BytesSentfield.
-
BytesRec
public int BytesRec()
- Returns:
- the value of the
BytesRecfield.
-
msExecutionTime
public int msExecutionTime()
- Returns:
- the value of the
msExecutionTimefield.
-
msNetWorkServerTime
public int msNetWorkServerTime()
- Returns:
- the value of the
msNetWorkServerTimefield.
-
TimerResolution
public SQLPERF.Buffer TimerResolution(int value)
Sets the specified value to theTimerResolutionfield.
-
SQLidu
public SQLPERF.Buffer SQLidu(int value)
Sets the specified value to theSQLidufield.
-
SQLiduRows
public SQLPERF.Buffer SQLiduRows(int value)
Sets the specified value to theSQLiduRowsfield.
-
SQLSelects
public SQLPERF.Buffer SQLSelects(int value)
Sets the specified value to theSQLSelectsfield.
-
SQLSelectRows
public SQLPERF.Buffer SQLSelectRows(int value)
Sets the specified value to theSQLSelectRowsfield.
-
Transactions
public SQLPERF.Buffer Transactions(int value)
Sets the specified value to theTransactionsfield.
-
SQLPrepares
public SQLPERF.Buffer SQLPrepares(int value)
Sets the specified value to theSQLPreparesfield.
-
ExecDirects
public SQLPERF.Buffer ExecDirects(int value)
Sets the specified value to theExecDirectsfield.
-
SQLExecutes
public SQLPERF.Buffer SQLExecutes(int value)
Sets the specified value to theSQLExecutesfield.
-
CursorOpens
public SQLPERF.Buffer CursorOpens(int value)
Sets the specified value to theCursorOpensfield.
-
CursorSize
public SQLPERF.Buffer CursorSize(int value)
Sets the specified value to theCursorSizefield.
-
CursorUsed
public SQLPERF.Buffer CursorUsed(int value)
Sets the specified value to theCursorUsedfield.
-
PercentCursorUsed
public SQLPERF.Buffer PercentCursorUsed(double value)
Sets the specified value to thePercentCursorUsedfield.
-
AvgFetchTime
public SQLPERF.Buffer AvgFetchTime(double value)
Sets the specified value to theAvgFetchTimefield.
-
AvgCursorSize
public SQLPERF.Buffer AvgCursorSize(double value)
Sets the specified value to theAvgCursorSizefield.
-
AvgCursorUsed
public SQLPERF.Buffer AvgCursorUsed(double value)
Sets the specified value to theAvgCursorUsedfield.
-
SQLFetchTime
public SQLPERF.Buffer SQLFetchTime(int value)
Sets the specified value to theSQLFetchTimefield.
-
SQLFetchCount
public SQLPERF.Buffer SQLFetchCount(int value)
Sets the specified value to theSQLFetchCountfield.
-
CurrentStmtCount
public SQLPERF.Buffer CurrentStmtCount(int value)
Sets the specified value to theCurrentStmtCountfield.
-
MaxOpenStmt
public SQLPERF.Buffer MaxOpenStmt(int value)
Sets the specified value to theMaxOpenStmtfield.
-
SumOpenStmt
public SQLPERF.Buffer SumOpenStmt(int value)
Sets the specified value to theSumOpenStmtfield.
-
CurrentConnectionCount
public SQLPERF.Buffer CurrentConnectionCount(int value)
Sets the specified value to theCurrentConnectionCountfield.
-
MaxConnectionsOpened
public SQLPERF.Buffer MaxConnectionsOpened(int value)
Sets the specified value to theMaxConnectionsOpenedfield.
-
SumConnectionsOpened
public SQLPERF.Buffer SumConnectionsOpened(int value)
Sets the specified value to theSumConnectionsOpenedfield.
-
SumConnectiontime
public SQLPERF.Buffer SumConnectiontime(int value)
Sets the specified value to theSumConnectiontimefield.
-
AvgTimeOpened
public SQLPERF.Buffer AvgTimeOpened(double value)
Sets the specified value to theAvgTimeOpenedfield.
-
ServerRndTrips
public SQLPERF.Buffer ServerRndTrips(int value)
Sets the specified value to theServerRndTripsfield.
-
BuffersSent
public SQLPERF.Buffer BuffersSent(int value)
Sets the specified value to theBuffersSentfield.
-
BuffersRec
public SQLPERF.Buffer BuffersRec(int value)
Sets the specified value to theBuffersRecfield.
-
BytesSent
public SQLPERF.Buffer BytesSent(int value)
Sets the specified value to theBytesSentfield.
-
BytesRec
public SQLPERF.Buffer BytesRec(int value)
Sets the specified value to theBytesRecfield.
-
msExecutionTime
public SQLPERF.Buffer msExecutionTime(int value)
Sets the specified value to themsExecutionTimefield.
-
msNetWorkServerTime
public SQLPERF.Buffer msNetWorkServerTime(int value)
Sets the specified value to themsNetWorkServerTimefield.
-
-