Class ResourceGateway


  • public class ResourceGateway
    extends Object
    Resource gateway used to restrict the resource access. eg: based on priority.
    Author:
    Jagadish Ramu
    • Field Detail

      • _logger

        protected static final Logger _logger
    • Constructor Detail

      • ResourceGateway

        public ResourceGateway()
    • Method Detail

      • allowed

        public boolean allowed()
        indicates whether resource access is allowed or not.
        Returns:
        boolean
      • acquiredResource

        public void acquiredResource()
        used to indicate the gateway that a resource is acquired.
      • debug

        protected static void debug​(String debugStatement)