Class FreezerCore
- java.lang.Object
-
- org.apache.storm.container.cgroup.core.FreezerCore
-
- All Implemented Interfaces:
CgroupCore
public class FreezerCore extends Object implements CgroupCore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FreezerCore.State
-
Field Summary
Fields Modifier and Type Field Description static String
FREEZER_STATE
-
Constructor Summary
Constructors Constructor Description FreezerCore(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FreezerCore.State
getState()
SubSystemType
getType()
void
setState(FreezerCore.State state)
-
-
-
Field Detail
-
FREEZER_STATE
public static final String FREEZER_STATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FreezerCore
public FreezerCore(String dir)
-
-
Method Detail
-
getType
public SubSystemType getType()
- Specified by:
getType
in interfaceCgroupCore
-
getState
public FreezerCore.State getState() throws IOException
- Throws:
IOException
-
setState
public void setState(FreezerCore.State state) throws IOException
- Throws:
IOException
-
-