public Void call() throws Exception
{
try
{
ReplicationGroupAdmin admin = createReplicationGroupAdmin();
String newMaster = admin.transferMaster(Collections.singleton(nodeName),
_masterTransferTimeout, TimeUnit.MILLISECONDS, true);
if (LOGGER.isDebugEnabled())
{
LOGGER.debug("The mastership has been transferred to " + newMaster);
}