class ElastiCacheRaiderImpl implements ElastiCacheRaider {

    @Override
    public void rebootElastiCacheCluster(String clusterName, Integer numNodes) {
        RebootCacheClusterRequest rebootCacheClusterRequest = new RebootCacheClusterRequest()
                .withCacheClusterId(clusterName)
                .withCacheNodeIdsToReboot(this.getCachedNodeId(numNodes));

        try {
            elastiCacheDelegator.getAmazonElastiCache().rebootCacheCluster(rebootCacheClusterRequest);
        } catch (Exception ex) {
            throw new RuntimeException(ex.getMessage());
        }
    }

    public  ElastiCacheRaiderImpl();

}