|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.db2.wrapper.DefaultRemoteFunction
The DefaultRemoteFunction class represents a simple remote function
mapping. It can be used within the UnfencedServer.insertRemoteFunction(DefaultRemoteFunction)
method to add a temporary function mapping definition to the UnfencedServer object.
Constructor Summary | |
DefaultRemoteFunction()
Class constructor |
|
DefaultRemoteFunction(java.lang.String localSignature,
java.lang.String remoteFunctionName,
short remoteResultType,
double iosPerInvoke,
double instsPerInvoke,
double iosPerArgByte,
double instsPerArgByte,
short percentArgByte,
double initialIos,
double initialInsts)
Construct an instance with the specified values. |
Method Summary | |
double |
getInitialInsts()
Returns the number of machine instructions executed the first time the function is executed |
double |
getInitialIos()
Returns the number of I/O operations the first time the function is executed |
double |
getInstsPerArgByte()
Returns the number of machine instructions per byte of argument for one invocation of the function. |
double |
getInstsPerInvoke()
Returns the number of machine instructions per invocation of the function. |
double |
getIosPerArgByte()
Returns the number of I/O operations per byte of argument for one invocation of the function. |
double |
getIosPerInvoke()
Returns the number of I/O operations per invocation of the function. |
java.lang.String |
getLocalSignature()
Returns the local signature of the function |
short |
getPercentArgByte()
Retruns the precentage of arguments bytes |
java.lang.String |
getRemoteFunctionName()
Returns the remote name of the function |
short |
getRemoteResultType()
Returns the result type of the function. |
boolean |
isInitialInstsValid()
Check to see if a value for the number of machine instructions executed the first time the function is executed was specified |
boolean |
isInitialIosValid()
Check to see if a value for the number of I/O operations the first time the function is executed was specified |
boolean |
isInstsPerArgByteValid()
Check to see if a value for the number of machine instructions per byte of argument for one invocation was specified |
boolean |
isInstsPerInvokeValid()
Check to see if a value for the number of machine instructions per invocation was specified |
boolean |
isIosPerArgByteValid()
Check to see if a value for the number of I/O operations per byte of argument for one invocation was specified |
boolean |
isIosPerInvokeValid()
Check to see if a value for the number of I/O operations per invocation was specified |
boolean |
isLocalSignatureValid()
Check to see if a local function signature was specified |
boolean |
isPercentArgByteValid()
Check to see if a value for the percentage of arguments bytes was specified |
boolean |
isRemoteFunctionNameValid()
Check to see if a remote function name was specified |
boolean |
isRemoteResultTypeValid()
Check to see if a remote result type was specified |
void |
setInitialInsts(double initialInsts)
Set the value for the number of machine instructions executed the first time the function is executed |
void |
setInitialIos(double initialIos)
Set the value for the number of I/O operations the first time the function is executed |
void |
setInstsPerArgByte(double instsPerArgByte)
Set the value for the number of machine instructions per byte of argument for one invocation of the function. |
void |
setInstsPerInvoke(double instsPerInvoke)
Set the value for the number of machine instructions per invocation of the function. |
void |
setIosPerArgByte(double iosPerArgByte)
Set the value for the number of I/O operations per byte of argument for one invocation of the function. |
void |
setIosPerInvoke(double iosPerInvoke)
Set the value for the number of I/O operations per invocation of the function. |
void |
setLocalSignature(java.lang.String localSignature)
Set the value for the local signature. |
void |
setPercentArgByte(short percentArgByte)
Set the value for the percentage of arguments bytes |
void |
setRemoteFunctionName(java.lang.String remoteFunctionName)
Set the value for the remote function name. |
void |
setRemoteResultType(short remoteResultType)
Set the value for the result type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultRemoteFunction()
public DefaultRemoteFunction(java.lang.String localSignature, java.lang.String remoteFunctionName, short remoteResultType, double iosPerInvoke, double instsPerInvoke, double iosPerArgByte, double instsPerArgByte, short percentArgByte, double initialIos, double initialInsts)
localSignature
- The local signatureremoteFunctionName
- The remote function nameremoteResultType
- The return type of the function.iosPerInvoke
- number of I/O operations per invocation.instsPerInvoke
- number of machine instructions per invocation.iosPerArgByte
- number of I/O operations per byte of argument.instsPerArgByte
- number of machine instructions per byte of argument.percentArgByte
- precentage of arguments bytesinitialIos
- number of I/O operationsinitialInsts
- number of machine instructionsMethod Detail |
public double getInitialInsts()
public double getInitialIos()
public double getInstsPerArgByte()
public double getInstsPerInvoke()
public double getIosPerArgByte()
public double getIosPerInvoke()
public java.lang.String getLocalSignature()
public short getPercentArgByte()
public java.lang.String getRemoteFunctionName()
public short getRemoteResultType()
Data
.
public boolean isInitialInstsValid()
public boolean isInitialIosValid()
public boolean isInstsPerArgByteValid()
public boolean isInstsPerInvokeValid()
public boolean isIosPerArgByteValid()
public boolean isIosPerInvokeValid()
public boolean isLocalSignatureValid()
public boolean isPercentArgByteValid()
public boolean isRemoteFunctionNameValid()
public boolean isRemoteResultTypeValid()
public void setInitialInsts(double initialInsts)
initialInsts
- number of machine instructionspublic void setInitialIos(double initialIos)
initialIos
- number of I/O operationspublic void setInstsPerArgByte(double instsPerArgByte)
instsPerArgByte
- number of machine instructions per byte of argument.public void setInstsPerInvoke(double instsPerInvoke)
instsPerInvoke
- number of machine instructions per invocation.public void setIosPerArgByte(double iosPerArgByte)
iosPerArgByte
- number of I/O operations per byte of argument.public void setIosPerInvoke(double iosPerInvoke)
iosPerInvoke
- number of I/O operations per invocation.public void setLocalSignature(java.lang.String localSignature)
localSignature
- The local signaturepublic void setPercentArgByte(short percentArgByte)
percentArgByte
- precentage of arguments bytespublic void setRemoteFunctionName(java.lang.String remoteFunctionName)
remoteFunctionName
- The remote function namepublic void setRemoteResultType(short remoteResultType)
Data
.
remoteResultType
- The return type of the function.
|
IBM DB2 Information Integrator Java API Reference for Developing Wrappers |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.