/** * Returns the reference count for the passed synchronizable instance. * * @param \AppserverIo\Synchronizable\SynchronizableInterface $synchronizable The synchronizable instance to return the reference count for * * @return integer The reference counter for the instance * @see \AppserverIo\Synchronizable\Registry::refCountBySerial() */ public static function refCount(SynchronizableInterface $synchronizable) { return Registry::refCountBySerial($synchronizable->__serial()); }