增加集群版redis作为元信息和对象缓存,去除Minio事件通知的redis元信息获取方式。
This commit is contained in:
11
cache/src/tango_cache_redis.h
vendored
11
cache/src/tango_cache_redis.h
vendored
@@ -7,8 +7,15 @@
|
||||
#include "tango_cache_client_in.h"
|
||||
|
||||
int tango_cache_head_redis(struct tango_cache_ctx *ctx);
|
||||
int redis_asyn_connect_init(struct tango_cache_instance *instance, const char *redisip);
|
||||
void main_redis_check_timer_start(struct tango_cache_instance *instance);
|
||||
int redis_asyn_connect_init(struct tango_cache_instance *instance);
|
||||
|
||||
|
||||
int tango_cache_fetch_redis(struct tango_cache_ctx *ctx);
|
||||
int tango_cache_try_fetch_redis(struct tango_cache_ctx *ctx);
|
||||
|
||||
int redis_put_minio_object_meta(struct tango_cache_ctx *ctx, bool callback);
|
||||
int redis_put_complete_part_data(struct tango_cache_ctx *ctx, enum PUT_MEMORY_COPY_WAY way, const char *data, size_t size, bool callback);
|
||||
int redis_put_complete_part_evbuf(struct tango_cache_ctx *ctx, size_t object_size, bool callback);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user