refactor use statement in producertype
make producer type final
update ringbuffer with producertype usage
update phpdoc