input
stringlengths
10
828
output
stringlengths
5
107
private void set rec seq num hdr st33 short the rec seq num byte short byte new byte 2 short byte short to byte the rec seq num if get is nt short byte reverse data short byte arraycopy value hdr st33 short byte 25 2
copies from the header st33 of the record sequence number of a record
private void load data random access file the input file throws bps exception byte my data new byte get rec size try the input file read my data catch ioexception e non epo code 04 04 2005 log exception line 486 throw new bps exception bps exception err file access e get message set rec data my data
load data from an input file
public char get conv name return html2 ps
get conv name method comment
public char get conv name return html2 pdf
get conv name method comment
public char get conv name return ascii2 ps
get conv name method comment
public jbpa service proxy get proxy return proxy
returns the proxy
public string get user pwd return user pwd
user pwd standard accessor
private void set orig doc id hdr st33 string the doc id system arraycopy the doc id get bytes 0 header st33 230 17
set orig doc id hdr st33
private void set user name string string user name string
user name standard accessor
private void set user pwd string string user pwd string
user pwd standard accessor
public void set rec data byte new value this rec data new value
rec data standard accessor
public jpxi polling get poller return poller
poller variable accesser
private char get status return status
status variable accesser
public void restart poller throws bps start exception the status is re initialized to down the polling is responsible to check the availability of the network set status status down instantiate start the poller jpxi polling my polling new jpxi polling this get name poll set poller my polling my polling start non epo co...
restart the polling on the target archive here jpxi
public jini service get service return service
returns the service
private void set poller jpxi polling new value this poller new value
poller variable setter
public boolean is jpxi connexion up return get poller is jpxi connected
jpxi connexion up variable accesser
public string get jbpa location return jbpa location
returns the jbpa location
public void set jbpa location string jbpa location this jbpa location jbpa location
sets the location
public void set proxy jbpa service proxy proxy this proxy proxy
sets the proxy
public phx polling get poller return poller
poller variable accesser
public void restart poller throws bps start exception the status is re initialized to down the polling is responsible to check the availability of the network set status status down instantiate start the poller phx polling my polling new phx polling this get name poll set poller my polling my polling start non epo code...
restart the polling on the target archive here pxi
public long get current load throws remote exception return get system param get connected client list get current concurrent session
load balancing interface method
private void set poller phx polling new value this poller new value
poller variable setter
private bns network link get network return network
network variable accesser
public string get bsi trace file name return bsi trace file name
returns the bsi trace file name
private void set network bns network link new value this network new value
network variable setter
public string get service status uid arg0 throws remote exception discard service proxy get service if proxy null ok else ko if get service is active return generic monitoring interface service ok else return generic monitoring interface service ko
generic monitoring interface method
private jpxi network link get network return network
network variable accesser
public boolean is jpxi connected return jpxi connected
jpxi connected variable accesser
private void set network jpxi network link new value this network new value
network variable setter
private void set jpxi connected boolean new value this jpxi connected new value
jpxi connected variable setter
public void set bsi trace file name string bsi trace file name this bsi trace file name bsi trace file name
sets the bsi trace file name
private void set network link jpxi network link new value this network link new value
network link variable setter
public boolean is jpxi connexion up return jpxi connexion up
jpxi connexion up variable accesser
private void set jpxi connexion up boolean new value jpxi connexion up new value
jpxi connexion up variable setter
public int get bsi trace level return bsi trace level
returns the bsi trace level
public void set bsi trace level int bsi trace level this bsi trace level bsi trace level
sets the bsi trace level
public boolean is service status up return service status up
returns the service status up
private void set network link phx network link new value this network link new value
network link variable setter
public string get filename return filename
accesser to filename variable
public char get image type return image type
accesser to image type variable
public void set filename string new value this filename new value
setter of the filename variable
public void set image type char new value this image type new value
setter of the image type variable
public void set location string new value this location new value
setter of the location variable
public void set service status up boolean service status up this service status up service status up
sets the service status up
private phx network link get network return network
network variable accesser
private void set network phx network link new value this network new value
network variable setter
public bns polling get poller return poller
poller variable accesser
public void restart poller throws bps start exception the status is re initialized to down the polling is responsible to check the availability of the network set status status down instantiate start the poller bns polling my polling new bns polling this get name poll set poller my polling my polling start non epo code...
restart the polling on the target archive here bns
private void set poller bns polling new value this poller new value
poller variable setter
private string check get property properties the prop string the token throws bps exception string read value read value the prop get property the token if read value null non epo code 04 04 2005 log traces line 55 throw new bps exception bps exception err property the propertie the token is missing in the properties f...
get a property value in the configuration properties
public void fail exception the exception string the message method who trace the exception non epo code 04 04 2005 log traces line 146 system exit 1
action on operation failure
public int get not completed request timeout return not completed request timeout
not completed request timeout variable accesser
private string check get property properties the prop string the token throws bps exception string read value read value the prop get property the token if read value null non epo code 04 04 2005 log traces line 64 throw new bps exception bps exception err property the property the token is missing in the properties fi...
get a property value in the configuration properties
public void fail exception the exception string the message method who trace the exception non epo code 04 04 2005 log traces line 77 system exit 1
action on operation failure
private string get db password return db password
db password variable accesser
public void run properties my prop null try my prop service support get properties org epo jbps rmi jbps service load stored parameters my prop catch bps exception e if there is an error while reading the properties file print error to the console and exit non epo code 04 04 2005 log exception line 232 fail e exception...
body method of the db cleaner tool
public void run non epo code 04 04 2005 log traces line s 3115 3116 while true try thread sleep 60 1000 check every minute perform registry rmi catch interrupted exception e ignore
method used to perform the rmi registry
private string get external bps users file name return external bps users file name
external bps users file name variable accesser
private string get external bps users storage mode return external bps users storage mode
external bps users storage mode variable accesser
private int get nb max connection return nb max connection
nb max connection variable accesser
private string get internal bps users file name return internal bps users file name
internal bps users file name variable accesser
public db polling get poller return poller
poller variable accesser
public void start registry rmi non epo code 04 04 2005 log traces line s 3132 3133 start a thread to monitor rmiregistry thread mon new thread this mon set name jbpa service mon start non epo code 04 04 2005 log traces line s 3141 3142
perform the rmi registry of the service
private string get internal bps users storage mode return internal bps users storage mode
internal bps users storage mode variable accesser
private boolean is connection ok connection the connection try if the connection is closed return false catch exception e2 non epo code 04 04 2005 log exception line 395 return false return true
test if the connection is ok with database
public boolean is connection ok result set the result set flagged thread the caller db context my db context null search the db context stored in the list of used connections created for the input result set my db context search db context the result set if my db context null try if my db context get connection is clos...
test if the connection is ok with database
public void restart poller throws bps start exception db polling my polling new db polling get name get db driver get db url get db user id get db password get nb max connection this set poller my polling my polling start non epo code 04 04 2005 log traces lines 597 600
restart the database poller
public flagged thread get bps process return bps process
bps process varaible accesser
protected void logout close the rmi communication with j bps server try close the j bps session if get server null if get session uid null get jbps server close jbps session get session uid the remote exceptions are caught at a higher level catch bps exception be catch remote exception re call the exception dispatcher ...
admin console logout method
public boolean is workable return if the request is workable switch its status switch get request status case reqstat bps ready return true default return false
check if request workable ready state
private void set poller db polling new value this poller new value
poller variable setter
public void set bps process flagged thread new value this bps process new value
bps process variable setter
public void ask stop get poller ask stop
thread method for asking to stop the thread
public void set req completion timestamp timestamp the ts if the ts null java text simple date format df new java text simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set completion timestamp my string ts
setter of the completion timestamp in string format
public void restart poller throws bps start exception the status is re initialized to down the polling is responsible to check the availability of the network set status status down instantiate start the poller bpa polling my polling new bpa polling this get name poll set poller my polling my polling start non epo code...
restarting poller on the bpa system
public void set req creation timestamp timestamp the ts if the ts null java text simple date format df new java text simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set creation timestamp my string ts
setter of the creation timestamp in string form
public void set req printed timestamp timestamp the ts if the ts null java text simple date format df new java text simple date format yyyy mm dd hh mm ss sss string my string ts df format the ts set printed timestamp my string ts
setter of the printed timestamp in string form
private void set poller bpa polling new value this poller new value
poller variable setter
public void on entry system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 64 67 notify all processes that tey have to finish their treatment and wait the sys param get process list ask processes to finish 0 use of ask processes to finish to put the maximum permitted processes ...
entry method of the current state
public void on exit system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 79 82
exit method of the current state
public void startmgr string the command throws remote exception server administration command startmgr if get jbps server null system out println no connection is established else if the command length 2 print help the command 0 startmgr else system out println try to start a new jbps manager system out println send st...
b call the start manager remote server method b br
public void run system parameter the sys param bps manager the manager mg event the event wait achievement of all bps process or for another stopping prioritary mode to be asked while the sys param get process list all process stopped the manager another prior stopping mode the event try thread sleep 1000 check every s...
body method of the current state
public void on entry system parameter the sys param bps manager the manager nothing to do the general system init has been done in the constructor of bps manager
entry method of the current state
public void on entry system parameter the sys param bps manager the manager
entry method of the current state
public void on entry system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 63 66
entry method of the current state
public void on exit system parameter the sys param bps manager the manager
exit method of the current state
public void on exit system parameter the sys param bps manager the manager stop the manager timer the manager get timer ask stop wait for the manager timer to stop try the manager get timer join catch interrupted exception e stop the bps loader the sys param get bps loader ask stop
exit method of the current state
public void on exit system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 75 78
exit method of the current state
public void stop string the command throws java rmi remote exception server administration command stop system out println stop method invoked if get jbps server null system out println no connection is established else stop the server system out println try to stop the jbps server get jbps server stop jbps server get ...
b call the stop server remote server method b br
public void run system parameter the sys param bps manager the manager mg event the event nothing to do the general system init has been done in the constructor of bps manager
body method of the current state
public mg state next state mg event the event bps manager the bps manager system parameter the sys param return null
definitions of the next states of the current state
private int get process number return process number
process number variable accesser
public void on entry system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 42 45
entry method of the current state
public void on exit system parameter the sys param bps manager the manager timer my timer null put the bps thread flag started to true so that the start can be notify to the control daemon child process if the manager is asked to stop start the timer which is in charge to wake up the manager at regular interval my time...
exit method of the current state
public void stopmgr string the command throws remote exception server administration command stopmgr if get jbps server null system out println no connection is established else if the command length 3 print help the command 0 stopmgr else system out println stop manager method invoked if get jbps server null system ou...
b call the stop jbps manager remote server method b br
public void on exit system parameter the sys param bps manager the manager non epo code 04 04 2005 log traces lines 54 57 the manager get manager list remove the manager get name
exit method of the current state
private system parameter get sys param return sys param
sys param variable accesser
public void remove process bps process the bps process manipulate process list process remove the bps process
removes a process from the process list