CacheInfo Classe
- java.
lang. Object - com.
microsoft. bot. schema. teams. CacheInfo
- com.
public class CacheInfo
Objet d’informations de cache qui avertit Teams la durée pendant laquelle un objet doit être mis en cache.
Récapitulatif du constructeur
| Constructeur | Description | |
|---|---|---|
| CacheInfo() | ||
Résumé de la méthode
| Modificateur et type | Méthode et description |
|---|---|
| java.lang.Integer |
getCacheDuration()
Obtient la durée du cache. |
| java.lang.String |
getCacheType()
Obtient le type de cache. |
| void |
setCacheDuration(Integer withCacheDuration)
Définit la durée du cache. |
| void |
setCacheType(String withCacheType)
Définit le type de cache. |
Méthodes héritées de java.lang.Object
Détails du constructeur
CacheInfo
public CacheInfo()
Détails de la méthode
getCacheDuration
public Integer getCacheDuration()
Obtient la durée du cache.
Retours:
getCacheType
public String getCacheType()
Obtient le type de cache.
Retours:
setCacheDuration
public void setCacheDuration(Integer withCacheDuration)
Définit la durée du cache.
Paramètres:
setCacheType
public void setCacheType(String withCacheType)
Définit le type de cache.
Paramètres: