|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.fv.StandardFvService
Standard implementation of the file vault service. Contains implementation of the client and server APIs.
Use the newStandardFvService
static factory method(s), not
the StandardFvService
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Nested Class Summary | |
static class |
StandardFvService.ActiveFolderCache
ActiveFolderCache maintains two mappings, vault-to-folder and folder-to-vault (we could have maintain only one mapping but CacheManager doesn't provide API to get a list of values without giving a key, so if we have only the vault-to-folder mapping, then given a folder, we have no way to find the corresponding vault, hence the extra mapping). |
static class |
StandardFvService.FvFolderCache
|
static class |
StandardFvService.FvMountCache
|
private class |
StandardFvService.FvRuleDepItem
|
(package private) class |
StandardFvService.FvServiceEventListener
|
(package private) class |
StandardFvService.FvServiceMultiObjectEventListener
|
static class |
StandardFvService.HostCache
|
(package private) class |
StandardFvService.RevaultFinderAction
|
(package private) class |
StandardFvService.RevaultFinderActionCurVaultToOtherVaults
|
(package private) class |
StandardFvService.RevaultFinderActionForceToSingleVault
|
(package private) class |
StandardFvService.RevaultFinderActionOtherVaultsToCurVault
|
(package private) class |
StandardFvService.RevaultFinderActionPDSToVault
|
(package private) class |
StandardFvService.RevaultFinderActionVaultToPDS
|
(package private) static class |
StandardFvService.UnreferencedFvItemsPurging
Class for thread spawning of ScheduleUnreferencedFvItemsPurging. |
Field Summary | |
private static StandardFvService.ActiveFolderCache |
_activeFolderCache
|
private static StandardFvService.FvFolderCache |
_fvFolderCache
|
private static StandardFvService.FvMountCache |
_fvMountCache
|
private static StandardFvService.HostCache |
_hostCache
|
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
private static boolean |
forceOneVault
|
private static String |
FvHOSTCACHEKEY
|
private static String |
FvRESOURCE
|
private static ScheduleItem |
g_scheduledUnreferencedFvItemsPurging
|
private boolean |
needRefresh
|
private static FvPolicyRuleHelper |
policyHelper
|
private static FvPolicyItemCache |
policyItemCache
|
private static String |
PURGE_UNREFERENCED_FVITEM_METHOD_NAME
|
private static String |
PURGE_UNREFERENCED_FVITEM_QUEUE_NAME
|
private static String |
RESOURCE
|
private static long |
SLEEP_PURGING_THREAD
|
private static FvSurrogate |
surrogate
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardFvService()
|
Method Summary | |
private void |
accumulateAllConcreteHolders(String className,
Vector res)
|
private static ScheduleItem |
activateUnreferencedFvItemsPurging()
Adds the Unreferenced Fvitems purging process to the queue. |
FvFolder |
addFolder(FvVault vault,
FvFolder folder)
Add a folder to a given vault. |
FvHost |
addHostToSite(Site site,
FvHost host)
Adds the given host to the give site. |
FvPolicyRule |
addPolicyRule(FvPolicyRule rule)
Adds a policy rule. |
Vault |
addVaultToSite(Site site,
Vault vault)
Adds the given vault to the given site. |
private boolean |
cancelUnreferencedFvItemsPurging()
Cancels Unreferenced FvItems Purging process. |
private long |
checkFileName(String name)
|
private void |
checkForceContentToVaultConditions()
|
private void |
checkMasterAttr()
|
private DeletedFilesStatistics |
cleanUpFilesInFolder(File dir,
Vector fileNumbersV,
FvFolder folder)
|
private DeletedFilesStatistics |
cleanUpFolder(File dir,
FvFolder folder)
|
DeletedFilesStatistics |
cleanUpFolder(FvFolder folder)
Clean up a folder by removing unreferenced files from it. |
DeletedFilesStatistics |
cleanUpFolders(FvVault vault)
Clean up all the folders from the given FvVault. |
private boolean |
deleteFile(String path,
String name)
|
static void |
doLocalCleanUp(FvVault vault,
CountedHistory history)
Deletes unreferenced contents. |
private void |
downloadMountInfo(FvHost host,
BufferedWriter out)
|
void |
dumpBackupInfo()
Supported API: false |
private Vector |
findAllContHolderClasses(Vault vault)
|
static FileFolder |
getActiveFolder(Vault vault)
|
protected static FileFolder |
getActiveFolderFromCache(Vault vault)
|
private static FileFolder |
getActiveFolderFromDatabase(Vault vault)
|
private Vector |
getAllContentHolderClassesInfo()
|
Vector |
getAllFolders(Site site,
Vault vault)
Gets all the folders for a given site and FvVault Supported API: false |
Enumeration |
getAllHosts(Site site)
For the given Site, returns all the hosts in the system as an Enumaration of FvHost objects. |
FvPolicyRule[] |
getAllPolicyRules(String domainName)
Returns all of the policy rules Supported API: false |
private void |
getAllRevaultableItems(Vault vault,
Class holderClass,
Vector queryInfo,
Vector resultItems,
String StreamedClass,
int pageSize,
int numElemToReturn)
|
Vector |
getAllRevaultableItems(Vault vault,
Vector queryInfo,
int pageSize)
Get all revaultable items from the given vault with streamId is at least "startingStreamId". |
private ApplicationData |
getAppData(ContentHolder holder,
Streamed item)
|
String |
getConceptualClassname()
Deprecated. |
private static ContentHolder |
getContentHolder(ApplicationData appData)
Gets the ContentHolder associated with a specific ApplicationData. |
static FileFolder |
getFileFolderFromCache(ObjectIdentifier folderKey)
|
String[] |
getFileLists(FvMount mount)
Get the list of all files in the directory as identified by the "mount" Supported API: false |
static Vector |
getFileLocation(ApplicationData appData)
Gets set of possible locations associated with a file in URL format. Warning: This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc). |
static Vector |
getFileLocation(ApplicationData appData,
ContentHolder holder)
Gets set of possible locations associated with a file in URL format. Warning: This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc). |
static String |
getFileLocation(ApplicationData appData,
String delimiter)
Gets a set of possible locations associated with a file in URL format. Warning: This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc). |
static WTKeyedMap |
getFileURLs(WTKeyedMap holders,
WTValuedHashMap fvItems)
Gets a set of possible locations associated with a file in URL format. Warning: This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc). |
static FileFolder |
getFolderById(long folderId)
|
private static FvMount |
getFvMountFromCache(FileFolder folder,
FvHost host)
|
private static Vector |
getFvMountsFromCache(FileFolder folder)
|
private Enumeration |
getHolderItems(ContentHolder holder)
|
protected static StandardFvService.HostCache |
getHostCache()
|
Vector |
getHostMounts(FvHost host)
|
private Vector |
getHostMounts(FvHost host,
boolean lock)
|
Enumeration |
getLocalFolders(Site site,
Vault vault)
Returns all the FvFolders given a site and a vault. |
static FvMount |
getLocalMount(FvFolder fvFolder)
|
Vector |
getLocalVaults(Site site)
Gets all the FvVaults for the given site object Supported API: false |
private static Vector |
getMountsToFolder(FileFolder folder)
Gets Vector with FvMounts associated to specific folder. |
(package private) static FvHost |
getMyFvHost()
|
private static int |
getNumberFilesInFolder(FileFolder folder)
|
FvPolicyItem |
getPolicyItem(Selector sel)
Supported API: false |
protected static FvPolicyItemCache |
getPolicyItemCache()
Supported API: false |
FvPolicyItem[] |
getPolicyItems()
Returns all of the policy items. |
FvPolicyRule |
getPolicyRule(Selector sel)
Returns a policy rule for a given selector. |
private Selector[] |
getSelectors(Selector sel)
Get all selectors belonged to the same administrative domain as "sel". |
Vector |
getSiteMounts(Site site)
Gets all the FvMounts for a given site. |
static Streamed |
getStreamedObject(ContentHolder holder)
Returns an object implementing Streamed interface for streaming content file to. |
protected static Vault |
getVault(ContentHolder holder,
Site site,
String vaultClassTypeName)
Get a file vault. |
(package private) FvVault |
getVault(Streamed item)
|
protected static Vault |
getVaultFromCache(FileFolder folder)
|
private FvVault |
getVaultFromDB(Selector sel,
Selector[] selectors)
Find a file vault policy rule whose selector is in the set of "selectors" and is most closely related to "sel". |
private static boolean |
hasActiveFolders(FvVault vault)
|
private void |
initSiteCacheVault(Site localSite)
|
private void |
invalidateMountSet(QueryResult qrm)
|
private void |
invalidateMountSet(QueryResult qrm,
boolean isArraySet)
|
private boolean |
isAbortRevaulting(RevaultingSession revSession)
|
private boolean |
isHolderClassASubClassOf(String holderClassName,
Vector allHolderClassNames)
|
(package private) static boolean |
isSpecialContent(Object obj)
|
(package private) static boolean |
isSpecialContentClass(Class theClass)
|
(package private) static boolean |
lockFilesExist(FvFolder folder)
|
private void |
markMountInvalid(FvMount theMount)
|
FvMount |
mountFolder(FvHost host,
FileFolder folder,
String path,
boolean local)
Mounts a folder to a given host. |
FvFolder |
moveFolder(FvFolder folder,
FvVault newVault)
Moves a folder to another vault. |
static StandardFvService |
newStandardFvService()
Supported API: false |
protected void |
onSaveFailure(Object object)
Supported API: false |
protected void |
performStartupProcess()
Initialization tasks performed by the engine service. |
private static void |
PP(String message)
|
private void |
prepareDBForRevaulting()
|
static void |
purgeUnreferencedFvItems()
|
protected static void |
putActiveFolderInCache(Vault v,
FileFolder f)
|
protected static boolean |
putHostArrayToHostCache()
|
void |
registerEvents(ManagerService manager)
Overrides the registration of all applicable lifecycle service events with the service manager. |
protected static void |
remHostArrayFromHostCache()
|
protected static void |
removeActiveFolderFromCache(FileFolder f)
|
private static void |
removeFileFolderFromCache(FileFolder folder)
|
private static void |
removeFileFolderFromCache(ObjectIdentifier key)
|
private static void |
removeFvMountFromCache(FvMount mount)
|
private static void |
removeFvMountFromCache(ObjectIdentifier key)
|
private void |
resetPreferredSiteToMaster(String replicaSiteName)
|
void |
revault(FvVault vault)
This method synchronizes the given vault with the vaulting rules which are in place. |
private void |
reVault(FvVault vault,
RevaultingSession curRevSession)
|
static void |
revaultCachedHolderContent(ObjectIdentifier holderId,
ObjectIdentifier contentId)
|
void |
revaultHolderContent(ContentHolder holder)
|
void |
revaultHolderContent(ContentHolder holder,
Streamed item,
FvVault toVault)
|
static void |
reVaulting(FvVault vault,
RevaultingSession curRevSession)
Supported API: false |
private int |
revaultStep(StandardFvService.RevaultFinderAction finder,
long currCounterId,
String methodName,
int numPrevQueued,
RevaultingSession curRevSession)
|
static void |
revaultURLContent(RevaultUrlSession session)
Supported API: false |
private void |
spawnUnreferencedFvItemsPurging()
Spawns process for running Unreferenced FvItems Purging. It can be through threading or direct call (see commented options in the code). |
private void |
stopRevaulting()
|
void |
unmountFolder(FvHost host,
FileFolder folder)
Unmount the specified folder from a given host. |
void |
updateFolderSeqNumbers(Vault vault,
Vector folders)
This function is used to reorder the sequence numbers within a vault. |
private RevaultingSession |
updateNumElemInRevSession(RevaultingSession session,
int elemNum)
|
protected void |
updatePolicyItems(Selector sel)
Updates the item for the given selector and all items whose selector is more specific than the given one. |
private void |
updatePreferredSiteName(String oldName,
String newName)
|
private void |
updateUserCacheSitePreference(Site theSite,
String evtType)
Update User's preferred content cache site when site is changed (PREFER_MODIFY) or deleted (PRE_DELETE) |
private boolean |
validateFvMountPath(FvMount the_mount)
|
private boolean |
validateHostName(String hostName)
|
private void |
validateMount(FvMount mount)
|
int |
validateRelatedFvMounts(FileFolder folder,
boolean disabled,
boolean ronly)
Validate the mounts for the given folder. |
int |
validateRelatedFvMounts(FvHost host,
boolean disabled,
boolean ronly)
Validate the mounts for the given host. |
int |
validateRelatedFvMounts(FvMount mount,
boolean disabled,
boolean ronly)
Validate the given mount Supported API: false |
int |
validateRelatedFvMounts(Vault vault,
boolean disabled,
boolean ronly)
Validate the mounts for the given vault Supported API: false |
int |
validateRelMounts(Vector target,
boolean disabled,
boolean ronly)
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static FvPolicyItemCache policyItemCache
private static final boolean DEBUG
private boolean needRefresh
private static FvSurrogate surrogate
private static FvPolicyRuleHelper policyHelper
private static boolean forceOneVault
private static final String FvRESOURCE
private static final String FvHOSTCACHEKEY
private static ScheduleItem g_scheduledUnreferencedFvItemsPurging
private static final String PURGE_UNREFERENCED_FVITEM_QUEUE_NAME
private static final String PURGE_UNREFERENCED_FVITEM_METHOD_NAME
private static final long SLEEP_PURGING_THREAD
private static StandardFvService.FvFolderCache _fvFolderCache
private static StandardFvService.FvMountCache _fvMountCache
private static StandardFvService.ActiveFolderCache _activeFolderCache
private static StandardFvService.HostCache _hostCache
Constructor Detail |
public StandardFvService()
Method Detail |
private void stopRevaulting() throws WTException
WTException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardFvService newStandardFvService() throws WTException
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public void registerEvents(ManagerService manager)
registerEvents
in interface Manager
registerEvents
in class StandardManager
manager
- the ManagerService object used to override the registration of applicable events with the service managerpublic static Streamed getStreamedObject(ContentHolder holder) throws WTException
holder
-
WTException
protected void updatePolicyItems(Selector sel) throws WTException
sel
-
WTException
protected static FvPolicyItemCache getPolicyItemCache()
protected static Vault getVault(ContentHolder holder, Site site, String vaultClassTypeName) throws WTException
holder
- site
- vaultClassTypeName
-
WTException
protected void onSaveFailure(Object object) throws WTException, WTPropertyVetoException
object
-
WTException
WTPropertyVetoException
public static void reVaulting(FvVault vault, RevaultingSession curRevSession) throws WTException
vault
- curRevSession
-
WTException
public static void doLocalCleanUp(FvVault vault, CountedHistory history) throws WTException
vault
- history
-
WTException
public static void revaultURLContent(RevaultUrlSession session) throws WTException
session
-
WTException
public FvFolder addFolder(FvVault vault, FvFolder folder) throws WTException
Specifying a number that already exists for a given vault results in shifting vaults to make a room for a new one.
Specifying -1 results in adding a folder to the end of the list.
Supported API: false
addFolder
in interface FvService
vault
- folder
-
WTException
public FvMount mountFolder(FvHost host, FileFolder folder, String path, boolean local) throws WTPropertyVetoException, WTException
mountFolder
in interface FvService
host
- folder
- path
- local
-
WTPropertyVetoException
WTException
public void unmountFolder(FvHost host, FileFolder folder) throws WTException
unmountFolder
in interface FvService
host
- folder
-
WTException
public DeletedFilesStatistics cleanUpFolder(FvFolder folder) throws WTException
cleanUpFolder
in interface FvService
folder
-
WTException
public DeletedFilesStatistics cleanUpFolders(FvVault vault) throws WTException
cleanUpFolders
in interface FvService
vault
-
WTException
public FvPolicyRule addPolicyRule(FvPolicyRule rule) throws WTException
addPolicyRule
in interface FvService
rule
-
WTException
public FvPolicyRule getPolicyRule(Selector sel) throws WTException
getPolicyRule
in interface FvService
sel
-
WTException
public FvPolicyRule[] getAllPolicyRules(String domainName) throws WTException
getAllPolicyRules
in interface FvService
domainName
-
WTException
public FvPolicyItem getPolicyItem(Selector sel) throws WTException
getPolicyItem
in interface FvService
sel
-
WTException
public FvPolicyItem[] getPolicyItems() throws WTException
getPolicyItems
in interface FvService
WTException
public FvFolder moveFolder(FvFolder folder, FvVault newVault) throws WTException, WTPropertyVetoException
moveFolder
in interface FvService
folder
- the folder to be moved.newVault
- the vault that the folder is to be moved to.
WTException
WTPropertyVetoException
public void updateFolderSeqNumbers(Vault vault, Vector folders) throws WTException, WTPropertyVetoException
updateFolderSeqNumbers
in interface FvService
vault
- The vault whose folder sequence numbers are to be updated.folders
- the vector of FvFolders with the desired sequence number
attributes.
WTException
WTPropertyVetoException
public void dumpBackupInfo() throws WTException
dumpBackupInfo
in interface FvService
WTException
public void revault(FvVault vault) throws WTException
revault
in interface FvService
vault
-
WTException
public int validateRelatedFvMounts(Vault vault, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
vault
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FileFolder folder, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
folder
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FvHost host, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
host
- disabled
- ronly
-
WTException
public int validateRelatedFvMounts(FvMount mount, boolean disabled, boolean ronly) throws WTException
validateRelatedFvMounts
in interface FvService
mount
- disabled
- ronly
-
WTException
public int validateRelMounts(Vector target, boolean disabled, boolean ronly) throws WTException
validateRelMounts
in interface FvService
target
- disabled
- ronly
-
WTException
public Enumeration getAllHosts(Site site) throws WTException
getAllHosts
in interface FvService
site
-
WTException
public Vector getLocalVaults(Site site) throws WTException
getLocalVaults
in interface FvService
site
- : Site the site object to find the FvVautls from
WTException
public Vector getAllFolders(Site site, Vault vault) throws WTException
getAllFolders
in interface FvService
site
- vault
-
WTException
public FvHost addHostToSite(Site site, FvHost host) throws WTException
addHostToSite
in interface FvService
site
- host
-
WTException
public Vault addVaultToSite(Site site, Vault vault) throws WTException
addVaultToSite
in interface FvService
site
- vault
-
WTException
public Enumeration getLocalFolders(Site site, Vault vault) throws WTException
getLocalFolders
in interface FvService
site
- vault
-
WTException
public Vector getSiteMounts(Site site) throws WTException
getSiteMounts
in interface FvService
WTException
public Vector getAllRevaultableItems(Vault vault, Vector queryInfo, int pageSize) throws WTException, WTPropertyVetoException
getAllRevaultableItems
in interface FvService
vault
- queryInfo
- The information about the query information passed and updated between client and server. The first entry is Long,
representing only the Streamed objects whose streamId is at least this number for the content holder class as in the last element of the Vector.pageSize
-
WTException
WTPropertyVetoException
public String[] getFileLists(FvMount mount) throws WTException
getFileLists
in interface FvService
mount
-
WTException
protected static FileFolder getActiveFolderFromCache(Vault vault)
protected static Vault getVaultFromCache(FileFolder folder)
protected static void putActiveFolderInCache(Vault v, FileFolder f)
protected static void removeActiveFolderFromCache(FileFolder f)
public static FileFolder getActiveFolder(Vault vault) throws FvFileCanNotBeStored
FvFileCanNotBeStored
private static FileFolder getActiveFolderFromDatabase(Vault vault) throws FvFileCanNotBeStored
FvFileCanNotBeStored
private static int getNumberFilesInFolder(FileFolder folder) throws WTException
WTException
private static boolean hasActiveFolders(FvVault vault)
static FvHost getMyFvHost() throws WTException
WTException
public static FvMount getLocalMount(FvFolder fvFolder) throws WTException
WTException
private Selector[] getSelectors(Selector sel) throws WTException
WTException
private FvVault getVaultFromDB(Selector sel, Selector[] selectors)
static boolean lockFilesExist(FvFolder folder) throws WTException
WTException
private DeletedFilesStatistics cleanUpFolder(File dir, FvFolder folder) throws WTException
WTException
private DeletedFilesStatistics cleanUpFilesInFolder(File dir, Vector fileNumbersV, FvFolder folder) throws WTException
WTException
private long checkFileName(String name)
private boolean deleteFile(String path, String name)
private void validateMount(FvMount mount) throws WTException
WTException
private void downloadMountInfo(FvHost host, BufferedWriter out) throws WTException, IOException
WTException
IOException
public static void revaultCachedHolderContent(ObjectIdentifier holderId, ObjectIdentifier contentId) throws WTException
WTException
public void revaultHolderContent(ContentHolder holder) throws WTException
WTException
public void revaultHolderContent(ContentHolder holder, Streamed item, FvVault toVault) throws WTException
WTException
private Enumeration getHolderItems(ContentHolder holder) throws WTException
WTException
FvVault getVault(Streamed item) throws WTException
WTException
private boolean isAbortRevaulting(RevaultingSession revSession)
private void reVault(FvVault vault, RevaultingSession curRevSession) throws WTException
WTException
private RevaultingSession updateNumElemInRevSession(RevaultingSession session, int elemNum) throws WTException
WTException
private void prepareDBForRevaulting() throws WTException
WTException
private void markMountInvalid(FvMount theMount) throws WTException
WTException
private void invalidateMountSet(QueryResult qrm) throws WTException
WTException
private void invalidateMountSet(QueryResult qrm, boolean isArraySet) throws WTException
WTException
private boolean validateFvMountPath(FvMount the_mount)
private boolean validateHostName(String hostName)
private Vector getHostMounts(FvHost host, boolean lock) throws WTException
WTException
public Vector getHostMounts(FvHost host) throws WTException
WTException
protected static StandardFvService.HostCache getHostCache() throws MethodServerException
MethodServerException
protected static void remHostArrayFromHostCache() throws WTException
WTException
protected static boolean putHostArrayToHostCache() throws WTException
WTException
private void checkMasterAttr() throws ManagerException
ManagerException
public static FileFolder getFolderById(long folderId) throws WTException
WTException
private static void PP(String message)
public static Vector getFileLocation(ApplicationData appData)
appData
- ApplicationData info associated with the file to look for
public static Vector getFileLocation(ApplicationData appData, ContentHolder holder)
appData
- ApplicationData info associated with the file to look forholder
- ContentHolder owner of appData
public static String getFileLocation(ApplicationData appData, String delimiter)
appData
- ApplicationData info associated with the file to look fordelimiter
- String to serve as a delimiter among the possible paths.private static ContentHolder getContentHolder(ApplicationData appData)
appData
- ApplicationData to look for ContentHolder
private static Vector getMountsToFolder(FileFolder folder)
folder
- folder to look for associated mounted hosts
public static WTKeyedMap getFileURLs(WTKeyedMap holders, WTValuedHashMap fvItems) throws WTException
holders
- WTKeyedMap between ContentHolder and List of its ApplicationData
WTException
private void spawnUnreferencedFvItemsPurging()
private static ScheduleItem activateUnreferencedFvItemsPurging()
private boolean cancelUnreferencedFvItemsPurging()
public static void purgeUnreferencedFvItems() throws WTException
WTException
private void initSiteCacheVault(Site localSite) throws WTException
WTException
private void updateUserCacheSitePreference(Site theSite, String evtType) throws WTException
WTException
private void resetPreferredSiteToMaster(String replicaSiteName) throws WTException
WTException
private void updatePreferredSiteName(String oldName, String newName) throws WTException
WTException
private void checkForceContentToVaultConditions() throws WTException
WTException
static boolean isSpecialContent(Object obj)
static boolean isSpecialContentClass(Class theClass)
private void getAllRevaultableItems(Vault vault, Class holderClass, Vector queryInfo, Vector resultItems, String StreamedClass, int pageSize, int numElemToReturn) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private Vector findAllContHolderClasses(Vault vault) throws WTException
WTException
private void accumulateAllConcreteHolders(String className, Vector res) throws WTException
WTException
private boolean isHolderClassASubClassOf(String holderClassName, Vector allHolderClassNames) throws WTException
WTException
private Vector getAllContentHolderClassesInfo() throws Exception
Exception
private int revaultStep(StandardFvService.RevaultFinderAction finder, long currCounterId, String methodName, int numPrevQueued, RevaultingSession curRevSession) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private ApplicationData getAppData(ContentHolder holder, Streamed item) throws WTException
WTException
private static FvMount getFvMountFromCache(FileFolder folder, FvHost host) throws WTException
WTException
private static void removeFvMountFromCache(FvMount mount) throws WTException
WTException
private static void removeFvMountFromCache(ObjectIdentifier key) throws WTException
WTException
private static Vector getFvMountsFromCache(FileFolder folder) throws WTException
WTException
public static FileFolder getFileFolderFromCache(ObjectIdentifier folderKey) throws WTException
WTException
private static void removeFileFolderFromCache(FileFolder folder) throws WTException
WTException
private static void removeFileFolderFromCache(ObjectIdentifier key) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |