Lines 531-536
Link Here
|
531 |
} |
531 |
} |
532 |
|
532 |
|
533 |
/** |
533 |
/** |
|
|
534 |
* Recreates the cache for the specified {@link IModule}. |
535 |
* |
536 |
* @param module The {@link IModule} |
537 |
*/ |
538 |
public void rebuildCache(IModule[] module) { |
539 |
|
540 |
synchronized (modulePublishInfo) { |
541 |
final String publishInfoKey = this.getKey(module); |
542 |
ModulePublishInfo mpi = modulePublishInfo.get(publishInfoKey); |
543 |
if(mpi != null) { |
544 |
mpi.startCaching(); // clear out the resource list |
545 |
mpi.fill(module); // rebuild the resource list |
546 |
} |
547 |
} |
548 |
} |
549 |
|
550 |
/** |
534 |
* Clears all caches of current module resources and deltas. |
551 |
* Clears all caches of current module resources and deltas. |
535 |
*/ |
552 |
*/ |
536 |
public void clearCache() { |
553 |
public void clearCache() { |