Singleton

com.google.api.server.spi.config

Annotation Type Singleton



  • @Target(value=TYPE)
     @Retention(value=RUNTIME)
    public @interface Singleton
    Annotation used with Authenticator and PeerAuthenticator to denote only one instance will be created for optimization. Implementation must be thread safe. Without the annotation a new (peer)authenticator instance will be created for each request.
本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Endpoints Frameworks for App Engine
需要協助嗎?請前往我們的支援網頁