类 SlotProfile
- java.lang.Object
-
- org.apache.seatunnel.engine.server.resourcemanager.resource.SlotProfile
-
- 所有已实现的接口:
com.hazelcast.nio.serialization.DataSerializable,com.hazelcast.nio.serialization.IdentifiedDataSerializable
public class SlotProfile extends Object implements com.hazelcast.nio.serialization.IdentifiedDataSerializable
Used to describe the status of the current slot, including resource size and assign status
-
-
构造器概要
构造器 构造器 说明 SlotProfile()SlotProfile(com.hazelcast.cluster.Address worker, int slotID, ResourceProfile resourceProfile, String sequence)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidassign(long jobID)booleanequals(Object o)intgetClassId()intgetFactoryId()longgetOwnerJobID()ResourceProfilegetResourceProfile()StringgetSequence()intgetSlotID()com.hazelcast.cluster.AddressgetWorker()inthashCode()voidreadData(com.hazelcast.nio.ObjectDataInput in)StringtoString()voidunassigned()voidwriteData(com.hazelcast.nio.ObjectDataOutput out)
-
-
-
构造器详细资料
-
SlotProfile
public SlotProfile()
-
SlotProfile
public SlotProfile(com.hazelcast.cluster.Address worker, int slotID, ResourceProfile resourceProfile, String sequence)
-
-
方法详细资料
-
getWorker
public com.hazelcast.cluster.Address getWorker()
-
getSlotID
public int getSlotID()
-
getResourceProfile
public ResourceProfile getResourceProfile()
-
getOwnerJobID
public long getOwnerJobID()
-
assign
public void assign(long jobID)
-
getSequence
public String getSequence()
-
unassigned
public void unassigned()
-
getFactoryId
public int getFactoryId()
- 指定者:
getFactoryId在接口中com.hazelcast.nio.serialization.IdentifiedDataSerializable
-
getClassId
public int getClassId()
- 指定者:
getClassId在接口中com.hazelcast.nio.serialization.IdentifiedDataSerializable
-
writeData
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws IOException- 指定者:
writeData在接口中com.hazelcast.nio.serialization.DataSerializable- 抛出:
IOException
-
readData
public void readData(com.hazelcast.nio.ObjectDataInput in) throws IOException- 指定者:
readData在接口中com.hazelcast.nio.serialization.DataSerializable- 抛出:
IOException
-
-