It is a flail-type weapon which consists of a long staff with a shorter rod attached by a chain, to serve as a cudgel.
This describes a flail, a type of melee weapon that uses a long staff with a shorter rod attached by a chain for striking.