Class WebviewCacheOperation

java.lang.Object
es.kukenan.smartfi.microservice.security.gateway.cache.WebviewCacheOperation

@Component @RefreshScope public class WebviewCacheOperation extends Object
Operation over webview cache.
  • Field Details

    • webviewUuidSession

      @Value("${cache.webview-uuid-session-map}") private String webviewUuidSession
      map webview-uuid-session cache established.
    • webviewTimeToLive

      @Value("${cache.webview-time-to-live}") private Long webviewTimeToLive
      ttl webview time-to-live established.
    • hazelcastInstance

      @Autowired private com.hazelcast.core.HazelcastInstance hazelcastInstance
      HazelcastInstance hazelcastInstance.
  • Constructor Details

    • WebviewCacheOperation

      public WebviewCacheOperation()
  • Method Details

    • cacheOperationsWebview

      public void cacheOperationsWebview(List<SessionCacheOperationEnum> operations, String uuid, Object obj)
      Webview cache operations.
      Parameters:
      operations - to be executed
      uuid - key of the registry
      obj - to be saved
    • getAllInformationByUuid

      public WebviewCache getAllInformationByUuid(String uuid)
      getting all Cache object.
      Parameters:
      uuid - key of the registry
      Returns:
      uuidCache object