public void canSelect(boolean canElector) {
        this.canElector = canElector;
    }
Judge where can be elector

@param canElector
inlong-audit/audit-service/src/main/java/org/apache/inlong/audit/service/selector/impl/SelectorImpl.java