2012-04-22 2 views

답변

5

다음 source에 따라, 모든 종류의 허용입니다.

def add(self, key, value, time=0, min_compress_len=0, namespace=None): 
"""Sets a key's value, iff item is not already in memcache. 

    Args: 
    key: Key to set. See docs on Client for details. 
    value: Value to set. Any type. If complex, will be pickled. 
    ... 
+1

+1 첫 번째 upvote에 오신 것을 환영합니다;) –

2

에 명시된 바와 같이 java.Serializable를 구현하는 모든 개체에 사용할 수있는 Java 들어