Siva, I am still not sure I completely understood why you need to rename a
cache.
I see you have a multi-tenant app. You might either create a cache per
tenant or introduce a "tenant ID" and keep all the tenants in single cache.
No rename is required.
Is it to keep cache name in sync with the underlying SQL server table name?
The cache-to-table mapping is configured for every JdbcType under the
cacheStoreFactory configuration. Updating "databaseTable" will require the
cluster restart but I believe database schema name changes are not that
often and usually require maintenance window for such an upgrade.

Please give us more details on your use case if you mean something
different.

If you still want to "rename" a cache you can only simulate that using
create-copy-destroy approach: 1) Create NEW_CACHE, 2) Copy data from
OLD_CACHE to NEW_CACHE 3) Destroy OLD_CACHE.

Reply via email to