public static base_response flush ( nitro_service client , cacheobject resource ) throws Exception { cacheobject flushresource = new cacheobject ( ) ; flushresource . locator = resource . locator ; flushresource . url = resource . url ; flushresource . host = resource . host ; flushresource . port = resource . port ; flushresource . groupname = resource . groupname ; flushresource . httpmethod = resource . httpmethod ; flushresource . force = resource . force ; return flushresource . perform_operation ( client , "flush" ) ; }
Use this API to flush cacheobject .