public void schemaChanged(String serviceName,String version){
synchronized (mapRealmToFormat) {
    mapRealmToFormat.remove(ROOT);
  }
}

public void schemaChanged ( String serviceName , String version ) { synchronized ( mapRealmToFormat ) { mapRealmToFormat . remove ( ROOT ) ; } }
this method will be invoked when a service ' s schema has been changed .
