Post Cache Construction Event should fire before things access grid caches.
This commit is contained in:
parent
4a5e9f4d5b
commit
d77da8c62d
1 changed files with 2 additions and 2 deletions
|
@ -40,10 +40,10 @@ public class Grid implements IGrid
|
||||||
caches.put( c, new GridCacheWrapper( myCaches.get( c ) ) );
|
caches.put( c, new GridCacheWrapper( myCaches.get( c ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
postEvent( new MENetworkPostCacheConstruction() );
|
||||||
|
|
||||||
TickHandler.instance.addNetwork( this );
|
TickHandler.instance.addNetwork( this );
|
||||||
center.setGrid( this );
|
center.setGrid( this );
|
||||||
|
|
||||||
postEvent( new MENetworkPostCacheConstruction() );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<Class<? extends IGridHost>> getMachineClasses()
|
public Set<Class<? extends IGridHost>> getMachineClasses()
|
||||||
|
|
Loading…
Reference in a new issue