Package io.manebot.virtual
Interface VirtualProcess
-
public interface VirtualProcess
-
-
Method Summary
Modifier and Type Method Description boolean
canControl()
void
changeUser(User user)
java.lang.String
getDescription()
long
getId()
java.util.logging.Logger
getLogger()
java.lang.String
getName()
VirtualProcess
getParent()
Profiler
getProfiler()
User
getUser()
void
interrupt()
boolean
isCallerSelf()
boolean
isRoot()
boolean
isRunning()
void
kill()
java.util.concurrent.ThreadFactory
newThreadFactory()
void
setDescription(java.lang.String description)
void
start()
-
-
-
Method Detail
-
interrupt
void interrupt()
-
kill
void kill() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
getId
long getId()
-
setDescription
void setDescription(java.lang.String description)
-
getDescription
java.lang.String getDescription()
-
getName
java.lang.String getName()
-
isRoot
boolean isRoot()
-
isCallerSelf
boolean isCallerSelf()
-
getUser
User getUser()
-
start
void start()
-
changeUser
void changeUser(User user) throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
-
getParent
VirtualProcess getParent()
-
getLogger
java.util.logging.Logger getLogger()
-
canControl
boolean canControl()
-
isRunning
boolean isRunning()
-
getProfiler
Profiler getProfiler()
-
newThreadFactory
java.util.concurrent.ThreadFactory newThreadFactory() throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
-
-