public interface CacheService
Modifier and Type | Method and Description |
---|---|
boolean |
areElementsPopulated()
Determines whether or not this Cache Service has been populated with
elements from the repository
|
void |
discard()
Discards any cached properties and reduces the memory footprint of the
element(s)
|
boolean |
isDiscarded()
Returns true if all of the cached properties of the element(s) Item have
been discarded They will be re-fetched from the server on demand (even
when MPX is enabled).
|
boolean |
isPopulated()
Determines whether or not the element(s) have been populated with all
available properties this is equivalent to isPopulated(null)
|
boolean |
isPopulated(PropertyCollection properties)
Determines whether or not the element(s) have been populated with the
specified properties
|
boolean |
isRefreshRequired()
Determines whether or not any of the available properties need to be
refreshed
|
boolean |
isRefreshRequired(PropertyCollection properties)
Determines whether or not any of the given properties need to be
refreshed
|
void |
populate()
Populates all properties, if necessary this is equivalent to
populate(null)
|
void |
populate(PropertyCollection properties)
Populates the element(s) with the given properties, if necessary
|
void |
refresh()
Refreshes the members of the collection and all available property
values, if necessary
|
void |
refresh(PropertyCollection properties)
Refreshes the members of the collection and the given property values, if
necessary
|
boolean areElementsPopulated()
void populate()
void populate(PropertyCollection properties)
properties
- the specified set of propertiesboolean isPopulated()
CacheService.isPopulated(PropertyCollection)
boolean isPopulated(PropertyCollection properties)
properties
- a specified set of propertiesboolean isRefreshRequired()
CacheService.isRefreshRequired(PropertyCollection)
boolean isRefreshRequired(PropertyCollection properties)
properties
- the specified set of propertiesvoid refresh()
CacheService.refresh(PropertyCollection)
void refresh(PropertyCollection properties)
properties
- the specified set of propertiesboolean isDiscarded()
void discard()
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.