CacheInfo Clase

  • java.lang.Object
    • com.microsoft.bot.schema.teams.CacheInfo

public class CacheInfo

Objeto de información de caché que notifica a Teams cuánto tiempo se debe almacenar en caché un objeto.

Resumen del constructor

Constructor Description
CacheInfo()

Resumen del método

Modificador y tipo Método y descripción
java.lang.Integer getCacheDuration()

Obtiene la duración de la memoria caché.

java.lang.String getCacheType()

Obtiene el tipo de caché.

void setCacheDuration(Integer withCacheDuration)

Establece la duración de la caché.

void setCacheType(String withCacheType)

Establece el tipo de caché.

Métodos heredados de java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Detalles del constructor

CacheInfo

public CacheInfo()

Detalles del método

getCacheDuration

public Integer getCacheDuration()

Obtiene la duración de la memoria caché.

Devoluciones:

Tiempo en segundos durante el que el objeto almacenado en caché debe permanecer en la memoria caché.

getCacheType

public String getCacheType()

Obtiene el tipo de caché.

Devoluciones:

Tipo de caché para este objeto.

setCacheDuration

public void setCacheDuration(Integer withCacheDuration)

Establece la duración de la caché.

Parámetros:

withCacheDuration - Tiempo en segundos durante el que el objeto almacenado en caché debe permanecer en la memoria caché.

setCacheType

public void setCacheType(String withCacheType)

Establece el tipo de caché.

Parámetros:

withCacheType - Tipo de caché para este objeto.

Se aplica a