@Test public void testSerialize() throws Exception { ExecutorTask executorTask = TransferExecutorTask.ofActive(segmentKey); Assert.assertEquals(json, executorTask.getTaskContent()); }
public static TransferExecutorTask ofActive(SegmentKey transferSegKey) throws Exception { return new TransferExecutorTask(transferSegKey, LockType.REAL_SEG); }
TransferExecutorTask extends AbstractExecutorTask<Job> { public static TransferExecutorTask ofActive(SegmentKey transferSegKey) throws Exception { return new TransferExecutorTask(transferSegKey, LockType.REAL_SEG); } }
TransferExecutorTask extends AbstractExecutorTask<Job> { public static TransferExecutorTask ofActive(SegmentKey transferSegKey) throws Exception { return new TransferExecutorTask(transferSegKey, LockType.REAL_SEG); } TransferExecutorTask(SegmentKey transferSegKey, LockType lockType);  TransferExecutorTask(SourceKey sourceKey, boolean persistent, ExecutorTaskType executorTaskType, LockType lockType,
                                String lockKey, DBStatusType dbStatusType, String taskId, long createTime, String taskContent,
                                int priority); }
TransferExecutorTask extends AbstractExecutorTask<Job> { public static TransferExecutorTask ofActive(SegmentKey transferSegKey) throws Exception { return new TransferExecutorTask(transferSegKey, LockType.REAL_SEG); } TransferExecutorTask(SegmentKey transferSegKey, LockType lockType);  TransferExecutorTask(SourceKey sourceKey, boolean persistent, ExecutorTaskType executorTaskType, LockType lockType,
                                String lockKey, DBStatusType dbStatusType, String taskId, long createTime, String taskContent,
                                int priority); static TransferExecutorTask ofActive(SegmentKey transferSegKey); static TransferExecutorTask ofPassive(SegmentKey transferSegKey); }
TransferExecutorTask extends AbstractExecutorTask<Job> { public static TransferExecutorTask ofActive(SegmentKey transferSegKey) throws Exception { return new TransferExecutorTask(transferSegKey, LockType.REAL_SEG); } TransferExecutorTask(SegmentKey transferSegKey, LockType lockType);  TransferExecutorTask(SourceKey sourceKey, boolean persistent, ExecutorTaskType executorTaskType, LockType lockType,
                                String lockKey, DBStatusType dbStatusType, String taskId, long createTime, String taskContent,
                                int priority); static TransferExecutorTask ofActive(SegmentKey transferSegKey); static TransferExecutorTask ofPassive(SegmentKey transferSegKey);  }