public class RepositoryManager extends Thread
Description: 1. Call the getInstance() method from main before creating other thread 2. From each repository call RepositoryManager.getInstance().addRepository(this) once at the end of its constructor
Copyright: Copyright (c) 2010
Company:
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static long |
lastModifyTime |
static int |
REPOSITORY_LOADING_GRACE_TIME |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
addRepository(Repository p_repository) |
void |
addRepository(Repository p_repository,
boolean reloadAll) |
static RepositoryManager |
getInstance() |
void |
run() |
void |
shutDown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static long lastModifyTime
public static final int REPOSITORY_LOADING_GRACE_TIME
public static RepositoryManager getInstance()
public void addRepository(Repository p_repository)
public void addRepository(Repository p_repository, boolean reloadAll)
public void shutDown()
Copyright © 2023. All rights reserved.