@Override
    public List<JobPo> getDeadJob(String taskTrackerNodeGroup, long deadline) {
        String tableName = JobQueueUtils.getExecutableQueueName(taskTrackerNodeGroup);
        Query<JobPo> query = template.createQuery(tableName, JobPo.class);
        query.field("isRunning").equal(true).
                filter("gmtCreated < ", deadline);
        return query.asList();
    }
@author Robert HG (254963746@qq.com) on 5/28/15.
lts-core/src/main/java/com/github/ltsopensource/queue/mongo/MongoExecutableJobQueue.java