def LoadAll(self,   replaceExistingValues):
     msg=mapcodec.MapLoadAllCodec.encodeRequest( encode.encodestring(self.title), encode.encodeboolean(replaceExistingValues))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.getPackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return mapcodec.MapLoadAllCodec.decodeResponse(msg2)
 def CreateConfig(self,  cacheConfig, createAlsoOnOthers):
     msg=cachecodec.CacheCreateConfigCodec.encodeRequest( cacheConfig, encode.encodeboolean(createAlsoOnOthers))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.receivePackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return cachecodec.CacheCreateConfigCodec.decodeResponse(msg2)
 def AddNearCacheEntryListener(self,   includeValue, eventhandler):
     msg=mapcodec.MapAddNearCacheEntryListenerCodec.encodeRequest( encode.encodestring(self.title), encode.encodeboolean(includeValue))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.getPackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     self.connection.eventregistry[correlationid]=mapcodec.MapAddNearCacheEntryListenerCodec.EventHandler(eventhandler)
     return mapcodec.MapAddNearCacheEntryListenerCodec.decodeResponse(msg2).response
 def AddIndex(self,   attribute, ordered):
     msg=mapcodec.MapAddIndexCodec.encodeRequest( encode.encodestring(self.title), encode.encodestring(attribute), encode.encodeboolean(ordered))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.getPackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return mapcodec.MapAddIndexCodec.decodeResponse(msg2)
 def Put(self,   key, value, expiryPolicy, get, completionId):
     msg=cachecodec.CachePutCodec.encodeRequest( encode.encodestring(self.title), key, value, expiryPolicy, encode.encodeboolean(get), encode.encodeint32(completionId))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.receivePackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return cachecodec.CachePutCodec.decodeResponse(msg2).response
 def ManagementConfig(self,   isStat, enabled, hostname, port):
     msg=cachecodec.CacheManagementConfigCodec.encodeRequest( encode.encodestring(self.title), encode.encodeboolean(isStat), encode.encodeboolean(enabled), encode.encodestring(hostname), encode.encodeint32(port))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.receivePackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return cachecodec.CacheManagementConfigCodec.decodeResponse(msg2).response
 def ListenerRegistration(self,   listenerConfig, register, hostname, port):
     msg=cachecodec.CacheListenerRegistrationCodec.encodeRequest( encode.encodestring(self.title), listenerConfig, encode.encodeboolean(register), encode.encodestring(hostname), encode.encodeint32(port))
     retryable=msg.retryable
     self.connection.adjustCorrelationId(msg)
     correlationid=msg.correlation
     self.connection.sendPackage(msg.encodeMessage())
     response=self.connection.receivePackageWithCorrelationId(correlationid,retryable)
     msg2=ClientMessage.decodeMessage(response)
     return cachecodec.CacheListenerRegistrationCodec.decodeResponse(msg2)