Skip to content

Instantly share code, notes, and snippets.

@lance
Created October 28, 2015 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lance/6d327d5dcbbe96367546 to your computer and use it in GitHub Desktop.
Save lance/6d327d5dcbbe96367546 to your computer and use it in GitHub Desktop.
{
"address" => ("extension" => "org.jboss.as.clustering.infinispan"),
"operation" => "add"
}
{
"address" => [("subsystem" => "infinispan")],
"operation" => "add"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate")
],
"operation" => "add",
"aliases" => [],
"default-cache" => "local-query"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("invalidation-cache" => "entity")
],
"operation" => "add",
"mode" => "SYNC"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("invalidation-cache" => "entity"),
("component" => "eviction")
],
"operation" => "add",
"max-entries" => 10000L,
"strategy" => "LRU"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("invalidation-cache" => "entity"),
("component" => "expiration")
],
"operation" => "add",
"max-idle" => 100000L
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("invalidation-cache" => "entity"),
("component" => "transaction")
],
"operation" => "add",
"mode" => "NON_XA"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("local-cache" => "local-query")
],
"operation" => "add"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("local-cache" => "local-query"),
("component" => "eviction")
],
"operation" => "add",
"max-entries" => 10000L,
"strategy" => "LRU"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("local-cache" => "local-query"),
("component" => "expiration")
],
"operation" => "add",
"max-idle" => 100000L
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("replicated-cache" => "timestamps")
],
"operation" => "add",
"mode" => "ASYNC"
}
{
"address" => [
("subsystem" => "infinispan"),
("cache-container" => "hibernate"),
("transport" => "jgroups")
],
"operation" => "add",
"lock-timeout" => 60000L
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment