class ServerShufflingProcessor implements LoadBalancingProcessor {

    @Override
    public Result run( Map<String,String> context ) throws ProcedureException
    {
        Result result = delegate.run( context );

        Collections.shuffle( result.routeEndpoints() );
        Collections.shuffle( result.writeEndpoints() );
        Collections.shuffle( result.readEndpoints() );

        return result;
    }

    public  ServerShufflingProcessor( LoadBalancingProcessor delegate );

}