So you don't need to enable memcache in web.xml.
You don't need to do any configuration like that. And
you don't need to add @Cache to each property,
but you do need to add the @Cache annotation to
the class. So, this is the correct answer. And
you don't have to write any code to save your
property values in memcache. Objectify will do it all for
you. That's one of the really cool things about memcache
Así que no tiene que habilitar
memcaché en web.xml.
No tiene que hacer ninguna
configuración como esa.
No tiene que agregar @Cache
a cada propiedad,
pero sí tiene que agregar
la anotación @Cache a la clase.
Así que, esta es la respuesta correcta.
No tiene que escribir ningún código
para guardar los valores de su propiedad
en memcaché.
Objectify lo hará todo por usted.
Eso es una de las cosas realmente
geniales de memcaché.
web.xmlでMemcacheを
有効にする必要はありません
そのような設定は一切必要ありません
それぞれのプロパティに@Cacheを
付け加える必要もありません
ただしクラスに@Cacheを付加する必要があります
したがってこの選択肢が正解です
プロパティ値をMemcacheに保存するために
コードを書く必要はありません
代わりにObjectifyがすべてやってくれます
Memcacheの優れている点です
Então você não precisa permitir
memcache em web.xml.
Não precisa configurar nada nesse sentido.
E não precisa adicionar @Cache
para cada propriedade,
mas você precisa sim adicionar
a anotação @Cache para a classe.
Então, esta é a resposta correta.
E você não precisa escrever nenhum código
para salvar os valores das propriedades
em memcache.
Objectify vai fazer isso por você.
Essa é uma das coisas
muito legais sobre o memcache.