Examples of DirectMemoryException


Examples of org.apache.directmemory.server.commons.DirectMemoryException

        {
            return asyncHttpClient.executeRequest( requestBuilder.build(), new DirectMemoryGetHandler( request ) );
        }
        catch ( IOException e )
        {
            throw new DirectMemoryException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.directmemory.server.commons.DirectMemoryException

        {
            return internalDelete( request ).get( this.configuration.getReadTimeOut(), TimeUnit.MILLISECONDS );
        }
        catch ( InterruptedException e )
        {
            throw new DirectMemoryException( e.getMessage(), e );
        }
        catch ( TimeoutException e )
        {
            throw new DirectMemoryException( e.getMessage(), e );
        }
        catch ( ExecutionException e )
        {
            throw new DirectMemoryException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.directmemory.server.commons.DirectMemoryException

        {
            return asyncHttpClient.executeRequest( requestBuilder.build(), new DirectMemoryGetHandler( request ) );
        }
        catch ( IOException e )
        {
            throw new DirectMemoryException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.directmemory.server.commons.DirectMemoryException

                int storedSize = headerValue == null ? -1 : Integer.valueOf( headerValue );
                return new DirectMemoryResponse().setStored( Boolean.TRUE ).setStoredSize( storedSize );
            case 204:
                return new DirectMemoryResponse().setStored( Boolean.FALSE );
            default:
                throw new DirectMemoryException(
                    "put cache content return http code:'" + statusCode + "', reasonPhrase:"
                        + response.getStatusText() );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.