Access HazelcastInstance in Bitbucket Data Center plugin

I’m trying to access the underlying HazelcastInstance in a Bitbucket Data Center plugin, in order to create a distributed queue.

It seems like there is (or was) an API for this in Confluence, but I can’t find such an API for Bitbucket.

Does anyone know of a way to do this?