|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ArtifactCacheManager.Client
public static final class ArtifactCacheManager.Client
Establish the context of a Client Application. If interested, each Client Application must provide a unique context uniqueness defined by Application Name, e.g. Caliber, Topaz, Zuma, SCTM, etc A client application will create and retain a single context instance per server. Alternately, a client application may choose to allow the ArtifactCacheManager to hold onto its context (keyed by name). An application should register its Client Context with the ArtifactCacheManager immediately after starting up the Manager, and before requesting baselines. Subsequent baseline registrations will cache the set of types defined by the client
| Method Summary | |
|---|---|
void |
register(ViewMember.Type.WebCacheViewMemberType type)
Register a type that the client application is interested in Any/all baseline(s) opened after this registration will automatically cause the registered type for this client application to be cached in the WebServer. |
void |
register(ViewMember.Type.WebCacheViewMemberType[] types)
Register a set of types that the client application is interested in. |
void |
unregister(ViewMember.Type.WebCacheViewMemberType type)
Unregister a type that the client application may have lost interest in. |
void |
unregister(ViewMember.Type.WebCacheViewMemberType[] types)
Unregister a set of types that the client application may have lost interest in. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void register(ViewMember.Type.WebCacheViewMemberType[] types)
ArtifactCache.cacheViewMembers(com.starteam.ViewMember.Type[])
Additionally, if the client has registered for Item events, then
the client will be notified accordingly, but only for registered types
Note also that a client may register more types over the lifetime of
the web application via this api. Back to back calls to this api
aggregate types
types - the Types of interestpublic void register(ViewMember.Type.WebCacheViewMemberType type)
ArtifactCache.cacheViewMembers(com.starteam.ViewMember.Type[])
Additionally, if the client has registered for Item events, then
the client will be notified accrodinngly, but only for registered types
Note also that a client may register more types over the lifetime of
the web application via this api. Back to back calls to this api
aggregate types
type - the Type of interestpublic void unregister(ViewMember.Type.WebCacheViewMemberType[] types)
types - the Types of interestpublic void unregister(ViewMember.Type.WebCacheViewMemberType type)
type - the Type of interest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||