public static interface OperativeSystemChaos.Action extends Q
Q.ArrayType<T>, Q.BaseType<T>, Q.DurationRunCondition, Q.FloatType, Q.IntegerType, Q.IterationRunCondition, Q.LongType, Q.Perform, Q.RunCondition, Q.StringType| Modifier and Type | Method and Description |
|---|---|
OperativeSystemChaos.Action |
blockPort(OperativeSystemChaos.PortSizeType port)
Blocks a port
|
OperativeSystemChaos.Action |
burnCpu(OperativeSystemChaos.NumberCpuType numberCpu)
Burn CPU setting CPU to 100%
|
OperativeSystemChaos.Action |
burnIo()
Burn IO channels
|
OperativeSystemChaos.Action |
failDns()
Provoke a fail in DNS server (blocking port 53)
|
OperativeSystemChaos.Action |
fillDisk(OperativeSystemChaos.SizeType size)
Fill the disk with trash
|
OperativeSystemChaos.Action |
killProcess(String processName)
Kills process in specified interval
|
OperativeSystemChaos.Action |
nullRoute()
Set null route
|
OperativeSystemChaos.Action burnCpu(OperativeSystemChaos.NumberCpuType numberCpu)
numberCpu - to run this process.OperativeSystemChaos.Action burnIo()
OperativeSystemChaos.Action failDns()
OperativeSystemChaos.Action fillDisk(OperativeSystemChaos.SizeType size)
size - of the trashOperativeSystemChaos.Action killProcess(String processName)
processName - to killOperativeSystemChaos.Action nullRoute()
OperativeSystemChaos.Action blockPort(OperativeSystemChaos.PortSizeType port)
port - port(s) to blockCopyright © 2017 JBoss by Red Hat. All rights reserved.