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
FieldsModifier and TypeFieldDescriptionstatic final StringConstantABORT="ABORT"static final StringConstantCONNECTION_FAIL="CONNECTION_FAIL"static final StringConstantEND="END"static final StringConstantERROR="ERROR"static final StringConstantPROGRESS="PROGRESS"Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionRampingThread(CyclingParameters cyclingParameters, String getPV, String setPV, MetaData limits, Database database, boolean linear) PSCyclingBean constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()abort.Getter for the fieldmessage.doubleGetter for the fieldprogress.booleanisAborted.booleanisCycling.booleanisError()isError.voidrelease()release.voidrun()This method was created in VisualAge.voidsetCurrent(double c) Insert the method's description here.voidsleeping(long mili) Insert the method's description here.voidstart.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- aCyclingParametersobjectgetPV- aStringobjectsetPV- aStringobjectlimits- aMetaDataobjectdatabase- aDatabaseobjectlinear- a boolean
-
-
Method Details
-
start
start.
- Parameters:
l- aPropertyChangeListenerobject
-
run
public void run()This method was created in VisualAge. -
getMessage
Getter for the field
message.- Returns:
- a
Stringobject
-
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.
-