[id='switching-hotrod-clusters_{context}']
= Manually Switching {brandname} Clusters
Manually switch Hot Rod Java client connections between {brandname} clusters.

.Procedure

* Call one of the following methods in the `RemoteCacheManager` class:
+
`switchToCluster(clusterName)` switches to a specific cluster defined in the
client configuration.
+
`switchToDefaultCluster()` switches to the default cluster in the client
configuration, which is defined as a list of {brandname} servers.

[role="_additional-resources"]
.Additional resources
* link:{javadocroot}/org/infinispan/client/hotrod/RemoteCacheManager.html[RemoteCacheManager]
