214215216217218219220221222223224
return new CacheListenerRegistrationRequest(); } }; constructors[DESTROY_CACHE] = new ConstructorFunction<Integer, Portable>() { public Portable createNew(Integer arg) { return new CacheDestroyRequest(); } }; } public Portable create(int classId) {
105106107108109110111112113114115
return; } isClosed.set(true); try { int partitionId = clientContext.getPartitionService().getPartitionId(nameWithPrefix); CacheDestroyRequest request = new CacheDestroyRequest(nameWithPrefix, partitionId); final Future future = clientContext.getInvocationService().invokeOnKeyOwner(request, nameWithPrefix); future.get(); } catch (Exception e) { throw ExceptionUtil.rethrow(e); }