cast to int DCAwareRoundRobinPolicy argument for convenience
allow nil as bool value