Out-of-line caching can also be used in the method invocation logic, using the object class and method selector.
外部缓存也可以通过使用对象类和方法选择器来实现在方法调用逻辑中的使用。
Remember that once these options are set, they affect all instances obtained from the factory after the method invocation.
记住,一旦设置了这些选项,它们将影响在方法调用后从工厂获得的所有实例。
The interceptor processes the method invocation request by checking if the user trying to access the method has appropriate access rights.
拦截器将检查试图访问方法的用户是否具有相应的访问权,从而处理方法调用请求。
SetPowerState method defines the desired power state of a computer system and its running operating system, and when the system should be put into PowerState parameter is specified as one of the valid integer values defined for the property, Time parameter (for all state changes but 5, \"Power Cycle\") indicates when the power state should be set, either as a regular date-time value or as an interval value (where the interval begins when the method invocation is received). When the PowerState parameter is equal to 5, \"Power Cycle\", the Time parameter indicates when the system should power on again. power off is immediate. SetPowerState should return 0 if successful, 1 if the specified power state and time requests are not supported, and some other value if any other error occurred.
All the inner SPIs that Dubbo defines have the URL parameter defined for the method invocation. Adaptive SPI uses URL to determine which implementation is needed. One specific Key and Value in the URL confirms the usage of the specific implementation, All these is done by adding @Adaptive annotation.
CachePut @CachePut While Spring updates the cache with the result of the method invocation, JCache requires to pass it as an argument that is annotated with @CacheValue. Due to this difference, JCache allows to update the cache before or after the actual method invocation.
CachePut @CachePut 当 Spring 使用方法调用的结果更新缓存时,JCache 需要将其作为使用@CacheValue注释的参数传递。由于这种差异,JCache 允许在实际方法调用之前或之后更新缓存。
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.