CacheInfo Classe

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

public class CacheInfo

Um objeto de informações de cache que notifica o Teams por quanto tempo um objeto deve ser armazenado em cache.

Resumo do Construtor

Construtor Description
CacheInfo()

Resumo do método

Modificador e tipo Método e descrição
java.lang.Integer getCacheDuration()

Obtém a duração do cache.

java.lang.String getCacheType()

Obtém o tipo de cache.

void setCacheDuration(Integer withCacheDuration)

Define a duração do cache.

void setCacheType(String withCacheType)

Define o tipo de cache.

Métodos herdados 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

Detalhes do construtor

CacheInfo

public CacheInfo()

Detalhes do método

getCacheDuration

public Integer getCacheDuration()

Obtém a duração do cache.

Retornos:

O tempo em segundos para o qual o objeto armazenado em cache deve permanecer no cache.

getCacheType

public String getCacheType()

Obtém o tipo de cache.

Retornos:

O tipo de cache para este objeto.

setCacheDuration

public void setCacheDuration(Integer withCacheDuration)

Define a duração do cache.

Parâmetros:

withCacheDuration - O tempo em segundos para o qual o objeto armazenado em cache deve permanecer no cache.

setCacheType

public void setCacheType(String withCacheType)

Define o tipo de cache.

Parâmetros:

withCacheType - O tipo de cache para este objeto.

Aplica-se a