You'd need to specify an rack||site||machine_id under the transport to have that kind
of address.
Warn: that's pretty internal stuff, chances are that it will break during upgrades.
On 27 Aug 2013, at 17:16, ben.cotton <ben.cotton(a)jpmorgan.com> wrote:
How do interoperate between an Address and a TopologyAwareAddress?
The following cast is not allowed at runtime.
Set<String> old = new TreeSet<String>();
if (vcEvent.getOldMembers()!=null)
for ( Address addr: vcEvent.getOldMembers())
{
*TopologyAwareAddress topAddr = (TopologyAwareAddress )addr;*
old.add(topAddr.getSiteId());
}
Any code samples or tactics to help me make use an Address as a
TopologyAwareAddress?
--
View this message in context:
http://infinispan-developer-list.980875.n3.nabble.com/how-to-interoperate...
Sent from the Infinispan Developer List mailing list archive at
Nabble.com.
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)