public void releaseCachePermits(int sizeInByte) {
        if (this.globalCacheQuota == null) {
            this.sdkPkgCacheQuota.release(sizeInByte);
        } else {
            this.sdkPkgCacheQuota.release(sizeInByte);
            this.globalCacheQuota.release(sizeInByte);
        }
    }
Base Sender class:

Used to manage Sender metadata information, including Sender ID,
 status, network interaction, metadata query object, and
 Proxy node metadata information obtained from Manager, etc.
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/sender/BaseSender.java