아래에 표시된 것과 같은 비동기 데이터 저장소 작업을 호출하지만 미래에 get을 호출하지 않고 요청을 끝내면 어떻게됩니까?비동기 데이터 저장소 작업에서 미래를 열어 본 적이 없다면 어떻게해야합니까?
내 작업이 여전히 실행됩니까? 작업이 완료되기 전에 응답을 보냅니 까?
AsyncDatastoreService datastore = DatastoreServiceFactory.getAsyncDatastoreService();
Entity entity = new Employee("Employee", "Alfred");
// ... populate entity properties
// Make a sync call via the async interface
datastore.put(key)
//Return response
Java에서 다르게 작동합니다. –
질문에서 언급하지는 않았지만 예. Java와 관련이 있습니다. –