Class RampingThread
java.lang.Object
java.lang.Thread
org.scictrl.csshell.epics.server.application.cycling.RampingThread
- All Implemented Interfaces:
Runnable
Thread performing ramping procedure.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantABORT="ABORT"
static final String
ConstantCONNECTION_FAIL="CONNECTION_FAIL"
static final String
ConstantEND="END"
static final String
ConstantERROR="ERROR"
static final String
ConstantPROGRESS="PROGRESS"
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionRampingThread
(CyclingParameters cyclingParameters, String getPV, String setPV, MetaData limits, Database database, boolean linear) PSCyclingBean constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
abort.Getter for the fieldmessage
.double
Getter for the fieldprogress
.boolean
isAborted.boolean
isCycling.boolean
isError()
isError.void
release()
release.void
run()
This method was created in VisualAge.void
setCurrent
(double c) Insert the method's description here.void
sleeping
(long mili) Insert the method's description here.void
start.Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
ABORT
ConstantABORT="ABORT"
- See Also:
-
END
ConstantEND="END"
- See Also:
-
PROGRESS
ConstantPROGRESS="PROGRESS"
- See Also:
-
ERROR
ConstantERROR="ERROR"
- See Also:
-
CONNECTION_FAIL
ConstantCONNECTION_FAIL="CONNECTION_FAIL"
- See Also:
-
-
Constructor Details
-
RampingThread
public RampingThread(CyclingParameters cyclingParameters, String getPV, String setPV, MetaData limits, Database database, boolean linear) PSCyclingBean constructor comment.- Parameters:
cyclingParameters
- aCyclingParameters
objectgetPV
- aString
objectsetPV
- aString
objectlimits
- aMetaData
objectdatabase
- aDatabase
objectlinear
- a boolean
-
-
Method Details
-
start
start.
- Parameters:
l
- aPropertyChangeListener
object
-
run
public void run()This method was created in VisualAge. -
getMessage
Getter for the field
message
.- Returns:
- a
String
object
-
isCycling
public boolean isCycling()isCycling.
- Returns:
- a boolean
-
getProgress
public double getProgress()Getter for the field
progress
.- Returns:
- a double
-
setCurrent
Insert the method's description here. Creation date: (05.05.02 19:27:06)- Parameters:
c
- double- Throws:
RemoteException
- if any.
-
sleeping
public void sleeping(long mili) Insert the method's description here. Creation date: (05.05.02 19:22:24)- Parameters:
mili
- int
-
isAborted
public boolean isAborted()isAborted.
- Returns:
- a boolean
-
isError
public boolean isError()isError.
- Returns:
- a boolean
-
abort
public void abort()abort.
-
release
public void release()release.
-