Changed producer interface to work with long instead of int

Changing `int` to `long` in `Producer` implementations.