public synchronized void promote ( Tile tile ) { if ( tileQueue . contains ( tile ) ) { try { tileQueue . remove ( tile ) ; tile . setPriority ( Tile . Priority . High ) ; tileQueue . put ( tile ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } } }
Increase the priority of this tile so it will be loaded sooner .