package com.github.k0kubun.github_ranking.config;

import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;

import java.util.Map;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;

import javax.sql.DataSource;

// Its queue may be configurable in the future. So it's placed here but currently just a group of queues.
public class QueueConfig
{
    private final BlockingQueue<Boolean> userRankingQueue;
    private final BlockingQueue<Boolean> orgRankingQueue;
    private final BlockingQueue<Boolean> repoRankingQueue;
    private final BlockingQueue<Boolean> newUserQueue;
    private final BlockingQueue<Boolean> searchedUserQueue;

    public QueueConfig()
    {
        userRankingQueue = new LinkedBlockingQueue<>();
        orgRankingQueue = new LinkedBlockingQueue<>();
        repoRankingQueue = new LinkedBlockingQueue<>();
        newUserQueue = new LinkedBlockingQueue<>();
        searchedUserQueue = new LinkedBlockingQueue<>();
    }

    public BlockingQueue<Boolean> getUserRankingQueue()
    {
        return userRankingQueue;
    }

    public BlockingQueue<Boolean> getOrgRankingQueue()
    {
        return orgRankingQueue;
    }

    public BlockingQueue<Boolean> getRepoRankingQueue()
    {
        return repoRankingQueue;
    }

    public BlockingQueue<Boolean> getNewUserQueue()
    {
        return newUserQueue;
    }

    public BlockingQueue<Boolean> getSearchedUserQueue()
    {
        return searchedUserQueue;
    }
}

package com.github.k0kubun.github_ranking.config;

import java.util.Map;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;

import javax.sql.DataSource;

// Its queue may be configurable in the future. So it's placed here but currently just a group of queues.
public class QueueConfig
{
    private final BlockingQueue<Boolean> userRankingQueue;
    private final BlockingQueue<Boolean> orgRankingQueue;
    private final BlockingQueue<Boolean> repoRankingQueue;
    private final BlockingQueue<Boolean> newUserQueue;
    private final BlockingQueue<Boolean> searchedUserQueue;

    public QueueConfig()
    {
        userRankingQueue = new LinkedBlockingQueue<>();
        orgRankingQueue = new LinkedBlockingQueue<>();
        repoRankingQueue = new LinkedBlockingQueue<>();
        newUserQueue = new LinkedBlockingQueue<>();
        searchedUserQueue = new LinkedBlockingQueue<>();
    }

    public BlockingQueue<Boolean> getUserRankingQueue()
    {
        return userRankingQueue;
    }

    public BlockingQueue<Boolean> getOrgRankingQueue()
    {
        return orgRankingQueue;
    }

    public BlockingQueue<Boolean> getRepoRankingQueue()
    {
        return repoRankingQueue;
    }

    public BlockingQueue<Boolean> getNewUserQueue()
    {
        return newUserQueue;
    }

    public BlockingQueue<Boolean> getSearchedUserQueue()
    {
        return searchedUserQueue;
    }
}

Remove obsoleted reference