X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fapi%2Frevel%2Fmodel%2Frevel_container.go;fp=src%2Ffoundation%2Fapi%2Frevel%2Fmodel%2Frevel_container.go;h=c3398d9af36472446dfffce3b9056c3eaddd60d9;hb=1d1ee6961c93781e1187d8c7faa868da6b2f01f4;hp=0000000000000000000000000000000000000000;hpb=56dd5e0f2164b37b40ac1daa188ccc618b4cbd19;p=iec.git diff --git a/src/foundation/api/revel/model/revel_container.go b/src/foundation/api/revel/model/revel_container.go new file mode 100644 index 0000000..c3398d9 --- /dev/null +++ b/src/foundation/api/revel/model/revel_container.go @@ -0,0 +1,14 @@ +package model + +import "github.com/revel/revel/utils" + +// The single instance object that has the config populated to it +type RevelContainer struct { + Controller struct { + Reuse bool // True if the controllers are reused Set via revel.controller.reuse + Stack *utils.SimpleLockStack // size set by revel.controller.stack, revel.controller.maxstack + CachedMap map[string]*utils.SimpleLockStack // The map of reusable controllers + CachedStackSize int // The default size of each stack in CachedMap Set via revel.cache.controller.stack + CachedStackMaxSize int // The max size of each stack in CachedMap Set via revel.cache.controller.maxstack + } +}