Post Cache Construction Event should fire before things access grid caches.
This commit is contained in:
+2
-2
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user